-1

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.

enter image description here

mkrieger1
  • 19,194
  • 5
  • 54
  • 65

1 Answers1

1

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.

Er1
  • 2,559
  • 1
  • 12
  • 24