I have implemented FCM for web using this fcm documentation: https://firebase.google.com/docs/cloud-messaging/js/client
Now everything will be fine, I get a normal notification on my web client if I give a URL like: "http" I have no error. But when I set url: "https" I get error after error:
"Failed to register ServiceWorker: SSL certificate error occurred while retrieving script." code: "messaging / failed-serviceworker-registration" "Messages: We cannot register the default service worker. Failed to register ServiceWorker: SSL certificate error occurred while retrieving script. (Messages / failed serviceworker registration)".
Can anyone show me how to fix this error?
source to share
No one has answered this question yet
Check out similar questions: