TF-1508 Remove setBackgroundMessageHandler not used
This commit is contained in:
@@ -10,10 +10,3 @@ firebase.initializeApp({
|
|||||||
messagingSenderId: "...",
|
messagingSenderId: "...",
|
||||||
appId: "...",
|
appId: "...",
|
||||||
});
|
});
|
||||||
const messaging = firebase.messaging();
|
|
||||||
|
|
||||||
messaging.setBackgroundMessageHandler(function(payload) {
|
|
||||||
console.log('[firebase-messaging-sw.js] Received background message ', payload);
|
|
||||||
self.registration.hideNotification();
|
|
||||||
return null;
|
|
||||||
});
|
|
||||||
Reference in New Issue
Block a user