WIP Firebase Changes for messaging

This commit is contained in:
Patrick Fic
2020-07-22 12:46:40 -07:00
parent 4abef35822
commit 8005a5c1f1
2 changed files with 6 additions and 2 deletions

View File

@@ -54,6 +54,8 @@ const messaging = firebase.messaging();
// // ...
// });
self.addEventListener('fetch',() => console.log("fetch"));
messaging.setBackgroundMessageHandler(function (payload) {
console.log(
"**********[firebase-messaging-sw.js] Received background message ",