I am trying to initialize firebase messaging like I am able to see notifications when app is in foreground or background but when i close the app i don't get the notifications. Also when i relaunch the app i don't see any notifications ,Help me out please
I am trying to initialize firebase messaging like I am able to see notifications when app is in foreground or background but when i close the app i don't get the notifications. Also when i relaunch the app i don't see any notifications ,Help me out please
self.addEventListener("install", (event) => { event.waitUntil( fetch(
http://localhost:3000/api/8414f66c-f30f-4283-962d-3fc6ee0dfb5c/org
) .then((response) => response.json()) .then((config) => { console.log("cCCCCCCCCCConfig", { config });}) .catch((error) => { console.error("Error fetching Firebase configuration:", error); }) ); });