You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WEB tab in this explains how to add FCM functionality to a flutter WEB app:
But the structure of the index.html created by "flutter create" changed significantly around flutter 2.2 when better support was added for PWA (I think).
The part of index.html that downloads main.dart.js now looks like this: main.dart.js now looks like this:
So... how should we add support for FCMs to this new version of index.html? My understanding is that since flutter is already using a service worker for PWA, it is not possible to add another service worker in the same scope to support messaging.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The WEB tab in this explains how to add FCM functionality to a flutter WEB app:
But the structure of the index.html created by "flutter create" changed significantly around flutter 2.2 when better support was added for PWA (I think).
The part of index.html that downloads main.dart.js now looks like this: main.dart.js now looks like this:
So... how should we add support for FCMs to this new version of index.html? My understanding is that since flutter is already using a service worker for PWA, it is not possible to add another service worker in the same scope to support messaging.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions