Added notification generation on SMS. Added FCM Token saving on login.

This commit is contained in:
Patrick Fic
2020-05-01 12:32:40 -07:00
parent 92aeb419a9
commit 636e979fd0
21 changed files with 3810 additions and 45 deletions

View File

@@ -43,7 +43,7 @@ self.addEventListener("notificationclick", function (event) {
console.log("SW notificationclick", event);
});
self.addEventListener("message", (message) => {
console.log("Push from SW", message);
// registration.showNotification("Push from SW" + JSON.stringify(message.data));
});
// self.addEventListener("message", (message) => {
// console.log("Push from SW", message);
// // registration.showNotification("Push from SW" + JSON.stringify(message.data));
// });