Upgrading firebase_messaging 11 to 12
Breaking11.4.4 → 12.0.3Breaking2Changed1Fixed1Other1
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- On the web, the plugin now uses the newer Firebase v9 JavaScript SDK.
- The isSupported() check now returns a Future instead of a plain value, so you must await it.
Must act 2 items need code or config changes
Moves firebase_core_platform_interface ^4.4.3 → ^4.5.0, firebase_messaging_platform_interface ^3.5.4 → ^4.1.2, firebase_messaging_web ^2.4.4 → ^3.1.2. Your build may pick other versions.
What you must change
Breaking2
Upgrades messaging web to the Firebase v9 JS SDK.
Makes isSupported() asynchronous, returning Future<bool>; it is web only and always resolves to true on other platforms.
isSupported()Future<bool>API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- changed:
method FirebaseMessaging.isSupported(): bool → method FirebaseMessaging.isSupported(): Future<bool>