Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Messaging: This browser doesn't support the API's required to use the firebase SDK. (messaging/unsupported-browser)

I am getting this error after deploying our website , my domain is domain.com and i can’t change it to https or localhost , so how do i get rid of this error.

provider.ts:122 Uncaught FirebaseError: Messaging: This browser doesn't support the API's required to use the firebase SDK. (messaging/unsupported-browser).
    at e.instanceFactory (index.ts:56:25)
    at e.getOrInitializeService (provider.ts:318:33)
    at e.getImmediate (provider.ts:115:21)
    at e._getService (firebaseApp.ts:136:22)
    at e.<computed> [as messaging] (firebaseNamespaceCore.ts:228:29)
    at Object.s [as messaging] (firebaseNamespaceCore.ts:209:32)
    at Module.<anonymous> (firebaseInit.js:18:28)
    at a ((index):1:2329)
    at r ((index):1:2198)
    at Array.t [as push] ((index):1:2061)

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Firebase Cloud Messaging is only supported on HTTPS web sites. If you can’t put your site on HTTPS, you won’t be able to use FCM to deliver push notifications.

Also see:

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading