Upgrading firebase_messaging 16 to 17
Breaking16.7.1 → 17.0.1Breaking1Platform2New1Fixed7
BreakingUpgrade verdict
1 breaking change and 2 platform requirement changes.
In plain terms
- iOS builds now use Firebase iOS SDK 13.0.0, which may require app changes.
- Apple builds now need Firebase Apple SDK 13, and Swift Package Manager users need macOS 11 or newer.
- Android apps must now target at least Android 7.0 (API 24) and use Firebase BoM 35.
Must act 3 items need code or config changes
What you must change
Breaking1
Bumps the Firebase iOS SDK to 13.0.0, which is a breaking change.
Platform2
Builds on Firebase Apple SDK 13 and requires macOS 11 for Swift packages.
Builds on Firebase BoM 35 and requires Android minSdk 24.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- added:
get FirebaseMessaging.onRegistered: Stream<String> - added:
get FirebaseMessaging.onUnregistered: Stream<String> - added:
method FirebaseMessaging.register({ String? vapidKey, String? serviceWorkerScriptPath, }): Future<void> - added:
method FirebaseMessaging.unregister(): Future<void>