GitLiveApp / firebase-kotlin-sdk

A Kotlin-first SDK for Firebase
https://gitliveapp.github.io/firebase-kotlin-sdk/
Apache License 2.0
1.17k stars 155 forks source link

Firebase Analytics Android not working #563

Open Vivecstel opened 4 months ago

Vivecstel commented 4 months ago

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.

deBasMan21 commented 3 months ago

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.

JedrzejBlaszczak commented 1 month ago

Any updates about this?

michalgwo commented 1 month ago

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.