It will also work even if the browser or tabs is closed, this is known as terminated state. And we are also handling that so not to worry. After we register the service worker it stays active , and it can receive notifications.
Great video! Although for flutter web, I'm getting "Exception while loading service worker: Error:" prepareServiceWorker took more than 4000ms to resolve. Moving on." I triple checked everything. Any idea? Would you happen to know what version of flutter and firebase_messaging you're using here?
are you able to push notifications? or getting error, 4000 ms means it is taking to much time to load the service worker. I have use : firebase_core: ^2.30.0 , firebase_messaging: ^14.8.2 in this tutorial.
@@Snehasis4321 It looks like they’ve updated the syntax for the index.html script in the latest version of fb_messaging 🤔 I’m able to get the token but am not seeing the background or foreground messages coming through due to the service worker error. Thanks man! I’ll try to downgrade to those version.
Fantastic video! I love the idea of using notifications, but how will the user know about the notification when the tab isn't active?
It will also work even if the browser or tabs is closed, this is known as terminated state. And we are also handling that so not to worry. After we register the service worker it stays active , and it can receive notifications.
Can you please create an example that sends an automatic notification to a WebApp when a new document is inserted into a Firebase collection
Great video! Although for flutter web, I'm getting "Exception while loading service worker: Error:" prepareServiceWorker took more than 4000ms to resolve. Moving on."
I triple checked everything. Any idea? Would you happen to know what version of flutter and firebase_messaging you're using here?
are you able to push notifications? or getting error, 4000 ms means it is taking to much time to load the service worker.
I have use : firebase_core: ^2.30.0 , firebase_messaging: ^14.8.2 in this tutorial.
@@Snehasis4321 It looks like they’ve updated the syntax for the index.html script in the latest version of fb_messaging 🤔
I’m able to get the token but am not seeing the background or foreground messages coming through due to the service worker error.
Thanks man! I’ll try to downgrade to those version.
Please share the GitHub repository of push notification in flutter application which one you upload two weeks ago
updated description
Make videos on aws
I have app and admin panel. Can you tell me how to do API integration of money transfer?
Integrate your app with payment gateway. You can take payments from uses from your app.
@@Snehasis4321 cashfree