Skip to content

Latest commit

 

History

History
83 lines (46 loc) · 2.36 KB

File metadata and controls

83 lines (46 loc) · 2.36 KB

Breaking Changes

This is a comprehensive list of the breaking changes introduced in the major version releases.

Versions

Version 8.x.x

Capacitor 8

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.

Peer Dependencies

The firebase peer dependency has been updated to version ^12.6.0.

iOS Dependencies

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.

Variables

  • On Android, the firebaseAnalyticsVersion variable has been updated to 23.0.0.

Peer Dependencies

The firebase peer dependency has been updated to version ^12.6.0. Ensure your project uses a compatible version of firebase before upgrading.

Version 7.x.x

Dependencies

  • The Firebase Javascript SDK has been updated to 11.2.0.

Variables

  • On Android, the firebaseAnalyticsVersion variable has been updated to 22.2.0.

Version 6.x.x

Dependencies

  • The Firebase Javascript SDK has been updated to 10.9.0.

Variables

  • On Android, the firebaseAnalyticsVersion variable has been updated to 20.5.1.

Version 5.x.x

Capacitor 5

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

Localized error messages

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.

Version 1.x.x

Capacitor 4

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