This is a comprehensive list of the breaking changes introduced in the major version releases.
This plugin now supports Capacitor 8. The minimum Android SDK version is 24 and the iOS deployment target is 15.0. Ensure your project meets these requirements before upgrading.
The firebase peer dependency has been updated to version ^12.6.0.
The Firebase iOS SDK has been updated to version 12.7.0. The deprecated GoogleAppMeasurementOnDeviceConversion, FirebaseAnalyticsOnDeviceConversion, and WithoutAdIdSupport pods have been removed. No migration required if you're using CapacitorFirebaseAnalytics/Analytics or CapacitorFirebaseAnalytics/AnalyticsWithoutAdIdSupport subspecs.
- On Android, the
firebaseAnalyticsVersionvariable has been updated to23.0.0.
The firebase peer dependency has been updated to version ^12.6.0. Ensure your project uses a compatible version of firebase before upgrading.
- The Firebase Javascript SDK has been updated to
11.2.0.
- On Android, the
firebaseAnalyticsVersionvariable has been updated to22.2.0.
- The Firebase Javascript SDK has been updated to
10.9.0.
- On Android, the
firebaseAnalyticsVersionvariable has been updated to20.5.1.
This plugin now supports Capacitor 5 only. Please run npx cap sync after updating this package.
If you want to use this plugin with Capacitor 4, please install version 1.4.0:
npm i @capacitor-firebase/analytics@1.4.0
On Android, error messages were previously generated with getLocalizedMessage. They are no longer localized and are generated with getMessage instead.
You should therefore check your error handling.
This plugin now supports Capacitor 4 only. Please run npx cap sync after updating this package.
If you want to use this plugin with Capacitor 3, please install version 0.5.1:
npm i @capacitor-firebase/analytics@0.5.1