With notification permission granted, messaging().getToken() resolves into an exception: {code: 20, message: "AbortError", name: "AbortError"}
firebase.messaging().getToken()
.then(token => console.log(token))
.catch(e => console.error(e)
However, this notification demo works, (not fcm): https://whatwebcando.today/local-notifications.html
Edge is not yet in our list of supported browsers.
That demo works because it's not using the Push API, which is the API FCM uses to get push messages from the server. Notifications API (that is demoed in that page) is the API that only _displays_ a notification.
Edge 17 (released just 3 days ago) does support Push API, and we're currently working on making FCM available on Edge.
Hi @mmermerkaya.
Any updates on that?
Thanks
Most helpful comment
Hi @mmermerkaya.
Any updates on that?
Thanks