Skip to content

🐛 createOrUpdateActivity does not show notification on Android (v2.4.2) #151

@sungchan1

Description

@sungchan1

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions