Home:ALL Converter>How to support push notification in safari on a flutter webapp

How to support push notification in safari on a flutter webapp

Ask Time:2022-02-01T22:58:50         Author:Devjgs

Json Formatter

I have a flutter project which is running on iOS, Android and Web.

Now my challenge is to support push notification in Safari browser (webapp flutter). I should be able to send custom payload in push notification.

I have gone though the below official documentation, but not getting how to pass custom payload with this approach and also there is NO CALLBACK defined to handle the push notification

https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html

Please help me out.

Author:Devjgs,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/70942722/how-to-support-push-notification-in-safari-on-a-flutter-webapp
yy