Home > Net >  How to get data from firebase-messaging-sw.js to dart file in Flutter web?
How to get data from firebase-messaging-sw.js to dart file in Flutter web?

Time:05-03

When im clicking on background notification getting payload which i need to use for later so i need to save payload data while click on notification in flutter web!

CodePudding user response:

There is no need to save, if it is needed only when a user clicks a notification. There is data field for custom data in showNotification. data will be available in notificationclick event.

  • Related