how to send push notification to PWA on ios safari - ios

I've a PWA app based on reactjs. I want to send push notification to my app. I tried FCM but it doesn't support on safari.
How to I can solve it?

Related

How to send Push notification to iOS WebApp (PWA)?

i have wordpress website and create own PWA based on wordpress.
now i want to use push notification on my web app!
how can send push notification to my ios users?
[resolved in android pwa]
Unfortunately, push notifications are not yet available on IOS.
Right now, Safari only supports push notification on Mac.
If you want push notifications on IOS, you have to develop native app.
There is a workaround,the Wise Notifications plugin
It takes 5 min to setup and the website visitors can subscribe with 2 taps maximum. It uses a notifications hub app to make it possible.
While not as easy to subscribe (if the visitors don't have the hub app already installed) as usual web push notifications, it is the only quick way to reach your iOS audience.
The alternative is for you to create a native/hybrid iOS applications, publish it to the AppStore, implement Apple Push Notifications in the app and server and send notifications via APNS (Apple Push Notification service). This requires a quite a lot of effort (time or money or both).
Currently, push notifications are supported (not yet) on IOS.
Safari only is the only browser in IOS, others use webview (based on Safari) with just a UI.

How to sync push notification between devices

I have a small question about push notification sync between devices.
For instance, I'm building an iOS and an OSX app.
Both of them support push notifications and I send notifications to both devices at the same time.
Is it possible to "hide/dismiss" the push notification (or change badge) on an OSX device if I opened a push notification on my iOS device?
Like iMessages does.
I can't find any Apple API or third party service that does somthing like that.
Thanks for your help.
Does your app communicating with any server? If yes you can send information like "user-saw-content" to the server then send another push notification to cancel others notifcations if necessary.

How to read push notifications from other apps in iOS

I wanted to know how to be able to read and get the contents of another app's push notification in iOS. Such as a push notification from Facebook Messenger, or Twitter.
I know this is possible because that is exactly what the Pebble Smartwatch iOS app does. It intercepts the push notifications of the iPhone and sends them to the smartwatch over Bluetooth.
Devices such as the Pebble, use the ANCS service with Bluetooth. An app cannot directly access the notifications for/from other apps.

Process received apple push notification in monotouch

Is there a way to show or list Apple push notifications on any user page?
It's pretty hard to find where is the alert message is received.
Here is the Xamarin doc for Remote Notifications: http://docs.xamarin.com/guides/cross-platform/application_fundamentals/notifications/ios/remote_notifications_in_ios/.
iOS handles the push notification for you, your app is only informed of a push notification if you app is running in the foreground or when the user clicks on the notification and you app is opened.
With the iOS SDK there is no way to get a list of notifications for you app, the best way to create this is by keep a list server side.
Have a look at MonoTouch.UIKit.UIApplicationDelegate.ReceivedRemoteNotification Method

iOS, remove notification with app not running like gmail app

I was observing the behavior of the gmail iOS app. When I receive an email the app shows a notification. I have the app closed, it is not running.
But when I read the email on the pc, the notification disappears immediatly on the iPhone. How is it possible to reproduce this behavior in my app? How can I remotely clear the notifications?
Thanks
Whenever the Gmail server detects that the mail has been read a silent push notification with a badge number of 0 is sent to clear the badge value.
I wish that Facebook did that as well.

Resources