IO-1551 Polling mode for unsupported browsers.
This commit is contained in:
@@ -48,7 +48,6 @@ firebase.initializeApp(firebaseConfig);
|
||||
const messaging = firebase.messaging();
|
||||
|
||||
messaging.onBackgroundMessage(function (payload) {
|
||||
console.log("FCM BG MSG", payload);
|
||||
// Customize notification here
|
||||
const channel = new BroadcastChannel("imex-sw-messages");
|
||||
channel.postMessage(payload);
|
||||
|
||||
Reference in New Issue
Block a user