firebase-kotlin-sdk icon indicating copy to clipboard operation
firebase-kotlin-sdk copied to clipboard

Firebase Analytics Android not working

Open Vivecstel opened this issue 1 year ago • 3 comments
trafficstars

I added analytics sdk recently and I am not seeing any events in firebase console (both on events and debug view). For crashlytics I see the fatal and not fatal exceptions correctly in firebase console.

Vivecstel avatar Jul 11 '24 11:07 Vivecstel

Sometimes i see the same thing happening on my app, however some events do seem to work. Im looking into it so i will let you know what my findings are.

deBasMan21 avatar Aug 08 '24 15:08 deBasMan21

Any updates about this?

JedrzejBlaszczak avatar Sep 28 '24 16:09 JedrzejBlaszczak

It happened to me when I disabled Firebase's content-provider in Manifest by:

<provider
   android:authorities="${applicationId}.firebaseperfprovider"
   android:name="com.google.firebase.perf.provider.FirebasePerfProvider"
   tools:node="remove" />

And initialized Firebase with Firebase.initialize(this, options) in the Application class.

But when I deleted Firebase initialization from the Application class and reenabled Firebase's content-provider (removed the code above from Manifest), analytics started to work correctly.

michalgwo avatar Oct 04 '24 17:10 michalgwo