

The Push API is used in conjunction with the older Web Notifications to display the message. While not yet supported on iOS (as of iOS 10), websites can send push notifications to Firefox and Chrome (Desktop/Android) with the Push API. It would be beneficial to you to review the Apple's push notification document as it provides some pretty good information on how push messaging functions on the iPhone. While this pretty much functions in the same manner as the native browser, you would be able to add the ability to register for push notifications using the native controls. Meaning that you would create a native application that basically presents a UIWebView (for iPhone dev) to the user showing your web application. Once the native app is registered for push notification, it can send the authorization token to the server, which can be used in conjunction with the certificate used to provision the native client, to send the push notifications to the mobile device.Īs specified in another answer, one option is to 'wrap' your web application in a native application. The registration for push notification is done through a native app and can only be performed through a native app.

To be more specific, in order for a web application to send push notifications to a mobile device, such as the iPhone, the mobile device must have registered to receive push notifications for a particular application.
