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

[Question]: iOS WebPush - Does it support OneSignal's "Web Push Topic" (AKA tags in JS's Notification API) #1099

Open
jkasten2 opened this issue Aug 19, 2023 · 0 comments

Comments

@jkasten2
Copy link
Member

jkasten2 commented Aug 19, 2023

Summary

iOS Web Push shows all notifications for a domain instead of the most recent one like other browsers for push notifications sent through OneSignal.
The question is, is this a confirmed iOS Web limitation?

Details

OneSignal

OneSignal has a Web Push Topic (REST API web_push_topic) feature which allows replacing a notification already on the device with the matching value for that domain. OneSignal by default sets the same value for every notification.

JS Notification API

OneSignal uses the the Javascript Notification API Notification.tags to support this feature. See Web MDN docs on Replacing existing notifications for more details.

Related Issues

#1054 (comment)

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

No branches or pull requests

1 participant