question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

I 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
ladaniavadhcommented, Dec 8, 2020

@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?

2reactions
dpdragnevcommented, Oct 18, 2019

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found