Not able to add screen logs in Firebase Analytics on android device after upgrading to version from 9.1.1 to 10.0.0
See original GitHub issueI am getting below while adding screen log in firebase analytics in android
ERROR Error: Uncaught (in promise): TypeError: Cannot read property ‘getInstance’ of undefined
Below is the analytics method that I am using
firebase.analytics.logEvent({
key: eventName,
parameters: analyticsParameter
}).then(() => {
console.log(${eventName} event slogged
);
});
In IOS device , it is working fine .
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:23 (10 by maintainers)
Top Results From Across the Web
Release Notes | Firebase - Google
This page provides a changelog that lists new SDK releases and describes updates to the Firebase console and Firebase services.
Read more >firebase_analytics | Flutter Package - Pub.dev
Flutter plugin for Google Analytics for Firebase, an app measurement solution that provides insight on app usage and user engagement on Android and...
Read more >Android Changelog - Airship Docs
Patch release that fixes issues with ADM push provider and a bad room migration when updating the SDK to a version before SDK...
Read more >Migration Guide | FlutterFire
Update the Firebase plugins you use in your project to versions that are compatible with the new firebase_core plugin. Edit the plugin versions...
Read more >Firebase Analytics events from iOS not showing up
Make sure your device is not set to battery save mode. In this mode events may be accumulated and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@EddyVerbruggen I am having 11.1.3 of @nativescript/firebase, still it showing that ‘firebase.analytics is not a function’
Can you please help me with this?
@EddyVerbruggen After installing the new version (10.1.0), I can confirm that everything works as expected. Thank you again for your quick response.
Best Regards