Closed thatfiredev closed 1 year ago
In order to use FCM in a service worker, getMessaging should be imported from firebase/messaging/sw.
getMessaging
firebase/messaging/sw
Originally reported on StackOverflow
thanks for catching this! FYI @egilmorez @kroikie
In order to use FCM in a service worker,
getMessaging
should be imported fromfirebase/messaging/sw
.Originally reported on StackOverflow