Added notification generation on SMS. Added FCM Token saving on login.
This commit is contained in:
@@ -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));
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user