-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Package: live_activities 2.4.2
Platforms: Android (API 24+). iOS works as expected.
Summary
Calling createOrUpdateActivity(activityId, data) on Android returns successfully but no notification appears.
Permissions are granted, notification channel exists, and a custom LiveActivityManager + RemoteViews are implemented as per README.
In some runs, buildNotification() is not invoked at all (no log). In other runs (forcing notify), the notification appears only if we manually call NotificationManager.notify(...) inside buildNotification().
Expected behavior
• On Android, createOrUpdateActivity() should:
1. invoke LiveActivityManagerHolder.instance.buildNotification(...), and
2. actually display (or update) a notification without requiring the app to manually call notify().
Actual behavior
• The call completes without error, but no notification is shown.
• areActivitiesSupported() → true, areActivitiesEnabled() → true.
• Notification permission (Android 13+) granted; channel created with IMPORTANCE_HIGH.
• Custom LiveActivityManager and RemoteViews are in place and IDs/Icons exist.
