diff --git a/android/app/src/main/java/app/timesafari/TimeSafariNativeFetcher.java b/android/app/src/main/java/app/timesafari/TimeSafariNativeFetcher.java index 2c2614d9..4aef1e52 100644 --- a/android/app/src/main/java/app/timesafari/TimeSafariNativeFetcher.java +++ b/android/app/src/main/java/app/timesafari/TimeSafariNativeFetcher.java @@ -9,7 +9,6 @@ import org.timesafari.dailynotification.FetchContext; import org.timesafari.dailynotification.NativeNotificationContentFetcher; import org.timesafari.dailynotification.NotificationContent; -import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.concurrent.CompletableFuture; @@ -47,22 +46,11 @@ public class TimeSafariNativeFetcher implements NativeNotificationContentFetcher // This should query the TimeSafari API for notification content // using the configured apiBaseUrl, activeDid, and jwtToken - // For now, return a placeholder notification - long scheduledTime = fetchContext.scheduledTime != null - ? fetchContext.scheduledTime - : System.currentTimeMillis() + 60000; // 1 minute from now - - NotificationContent content = new NotificationContent( - "TimeSafari Update", - "Check your starred projects for updates!", - scheduledTime - ); - - List results = new ArrayList<>(); - results.add(content); - - Log.d(TAG, "Returning " + results.size() + " notification(s)"); - return results; + // Not implemented yet: return no content rather than fabricating a + // placeholder notification (previously hardcoded "Check your starred + // projects for updates!", which showed on every app startup). + Log.d(TAG, "Content fetching not yet implemented; returning no notifications"); + return Collections.emptyList(); } catch (Exception e) { Log.e(TAG, "Fetch failed", e);