TF-1508 Remove setBackgroundMessageHandler not used
This commit is contained in:
@@ -9,11 +9,4 @@ firebase.initializeApp({
|
||||
storageBucket: "...",
|
||||
messagingSenderId: "...",
|
||||
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