My push notification code was working as of yesterday but now I'm getting error for SelectNotificationCallback
.
I've added a screenshot of the code below.
My push notification code was working as of yesterday but now I'm getting error for SelectNotificationCallback
.
I've added a screenshot of the code below.
Did you update the package?
Check the changelog for the latest versions:
https://pub.dev/packages/flutter_local_notifications/changelog
10.0.0:
onDidReceiveNotificationResponse: invoked only when the app is running. This works for when a user has selected a notification or notification action. This replaces the onSelectNotification callback that existed before.