Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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)
like image 353
How to Program Avatar asked Jan 24 '26 00:01

How to Program


1 Answers

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:

  • Firebase messaging is not supported in your browser how to solve this?
like image 97
Frank van Puffelen Avatar answered Jan 25 '26 15:01

Frank van Puffelen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!