Skip to content

Upgrading firebase_messaging 12 to 13

Breaking12.0.3 → 13.1.0Breaking1New1Changed1Fixed1Other1

BreakingUpgrade verdict

1 breaking change.

  • On Android 13 and later, apps must ask the user for permission to show notifications. This update adds that permission to the plugin, but your app now has to be built against Android API level 33.
1 item needs code or config changes

Moves firebase_core_platform_interface ^4.5.0 → ^4.5.1, firebase_messaging_platform_interface ^4.1.2 → ^4.2.0, firebase_messaging_web ^3.1.2 → ^3.2.0. Your build may pick other versions.

Breaking1
Adds the Android 13 POST_NOTIFICATIONS permission to the plugin manifest, requiring apps to target API level 33.
Manifest.permission.POST_NOTIFICATIONSAndroidManifest.xmlandroid/app/build.gradle

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • added: method FirebaseMessaging.setDeliveryMetricsExportToBigQuery(bool enabled): Future<void>