Support Web Push API/Safari Push Notifications in Mobile Safari

Originator:afischer2015
Number:rdar://31344895 Date Originated:3/30/17
Status:Duplicate of 14177236 (Open) Resolved:
Product:iOS + SDK Product Version:Any
Classification:Feature Request Reproducible:
 
Summary:
Since OS X Mavericks, Apple has allowed notifications for websites via the W3C Web Push API (https://www.w3.org/TR/push-api/) as well as Safari Push Notifications (https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/Introduction/Introduction.html), allowing websites to update users unobtrusively about new content and updates. 

It would be useful for this feature to be implemented in iOS Safari, as many people rely on their smartphones for up-to-the-minute content. Preventing web-apps from presenting push notifications relegates them to second-class citizens. 

Chrome for Android now allows push notifications (https://blog.chromium.org/2015/04/reaching-and-re-engaging-users-on.html), giving an inconsistent experience across mobile browsers.

Steps to Reproduce:
1. Open Safari on an iOS device.
2. Navigate to a page that supports Safari Push Notifications (ex: http://www.cnn.com)
3. No option to receive push notifications is presented to the user

Expected Results:
A modal asking to allow push notifications from the visiting site appears. A user could allow or deny notifications. If a user wishes to change their preferences after allowing or denying web notifications, they can change their preferences from the Settings app in an appropriate pane (likely either Settings>Notifications or Settings>Safari)

Actual Results:
No options are shown to receive push notifications on iOS Safari.

Version:
Any iOS version through current (10.3 as of this radar submission)

Notes:


Configuration:
Any iOS device.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!