flutter_local_notifications icon indicating copy to clipboard operation
flutter_local_notifications copied to clipboard

getActiveNotifications() returns no payloads

Open manuelei opened this issue 2 months ago • 1 comments

When retrieving active notifications with getActiveNotifications), the payload is always null, even if the notification has a payload that is correctly passed to onDidReceiveNotificationResponse.

final notifications = await flutterLocalNotificationsPlugin .getActiveNotifications(); for (final notification in notifications) { print( 'Checking notification ${notification.id} with payload ${notification.payload}'); }

OS: Android 16 flutter_local_notifications version: 19.4.2

manuelei avatar Oct 22 '25 01:10 manuelei

Can you provide a link to a repo hosting a minimal app that can reproduce the issue? Have you also checked that you can reproduce this with the example app?

MaikuB avatar Nov 22 '25 23:11 MaikuB