You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.
What if the user opens the web app and enable notifications on multiple devices? The token from one device will overwrite the token from another device. How to save tokens without overwriting to send push notifications to all devices?
The text was updated successfully, but these errors were encountered:
Get Id from your application or device , this depends on your app (browser finger print , android device Id etc).
Register token in path like : users/token/userId/Unique_Id_Retrieved_in_Step_one.
the first step is challenging ; I think this is the best resource for android Id [https://stackoverflow.com/a/17625641/2390992](get Unique Id from android app)
& this is the best resource for [https://stackoverflow.com/questions/4935964/javascript-unique-browser-id](getting unique Id from browser )
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
polycasts/ep59-firebase-messaging/public/my-subscription.html
Lines 27 to 36 in 6e0ae52
What if the user opens the web app and enable notifications on multiple devices? The token from one device will overwrite the token from another device. How to save tokens without overwriting to send push notifications to all devices?
The text was updated successfully, but these errors were encountered: