This is a comprehensive list of the breaking changes introduced in the major version releases of Capacitor Firebase Performance plugin.
- The Firebase Javascript SDK has been updated to
11.2.0.
- On Android, the
firebasePerfVersionvariable has been updated to21.0.4.
The web implementation now throws an error when a trace is not found for a given traceName. This behavior was already in place on iOS and Android in earlier versions.
- The Firebase Javascript SDK has been updated to
10.9.0.
- On Android, the
firebasePerfVersionvariable has been updated to20.5.2.
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/performance@1.4.0
Update the Performance Monitoring Gradle plugin in your root-level (project-level) Gradle file (usually android/build.gradle) to version 1.4.2:
- classpath 'com.google.firebase:perf-plugin::1.4.1'
+ classpath 'com.google.firebase:perf-plugin::1.4.2'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/performance@0.5.1
Method setPerformanceCollectionEnabled was renamed to setEnabled.
Interface SetPerformanceCollectionEnabledOptions was renamed to SetEnabledOptions.
Method isPerformanceCollectionEnabled was renamed to isEnabled.
Interface IsPerformanceCollectionEnabledResult was renamed to IsEnabledResult.