Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct errors in Push API #7262

Merged
merged 2 commits into from
Feb 26, 2025
Merged

Correct errors in Push API #7262

merged 2 commits into from
Feb 26, 2025

Conversation

jensimmons
Copy link
Contributor

@jensimmons jensimmons commented Feb 18, 2025

Correcting two mistakes in data about support in Safari:

  1. "Partial support" on macOS is due to the requirement for macOS Ventura. That requirement no longer applies for Safari 18.0+. In order to apply this note to Safari 16.1-17.7 only, I split footnote 5 ("Only available on macOS 13 Ventura or later and only in Safari itself, not WKWebView nor SFSafariViewController") into two separate footnotes.

  2. Footnote 6 currently reads "Requires website to first be added to the Home Screen. Delivered silently, meaning no sound, vibration, haptics or screen wake." First, this footnote is being renumbered as footnote 7 (to make 5 become 5 & 6). Second, the claim "Delivered silently, meaning no sound, vibration, haptics or screen wake" is untrue — so I've simply deleted the sentence. More information about how sound, vibration, haptics or screen wake work with Web Push on iOS is available at https://webkit.org/blog/12945/meet-web-push/.

Updating the footnotes about Safari on macOS. "Partial support" should only apply to Safari 16.1-17.7, since after that it's impossible to run Safari 18.0+ on a version of macOS that does not support Web Push. Changing the note requires splitting one of the footnotes (and thus renumbering the iOS footnotes.)
Updating footnote about web push on iOS and iPadOS. "Delivered silently, meaning no sound, vibration, haptics or screen wake" is not a true statement. Notifications can have sound, vibration, and wake the screen — it's in the user's control whether they do or not, exactly like other push notifications on iOS. More info at: https://webkit.org/blog/13878/web-push-for-web-apps-on-ios-and-ipados/
@jensimmons jensimmons changed the title Update push-api.json Correct errors in Push API Feb 19, 2025
@Fyrd
Copy link
Owner

Fyrd commented Feb 26, 2025

Thanks! Looked into it a bit and it seemed that line came from #6688. I believe that was an issue that occurred while the feature was in beta but then got fixed (via this reddit thread), so agree it can be removed. Thanks!

@Fyrd Fyrd merged commit dc90ffa into Fyrd:main Feb 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants