0

I would like to debug Firebase Analytics events that our app is sending on my phone. Since the DebugView is not working, I’m wondering if there’s a way to use the logcat tool locally to get enough details for debugging the events.

When enabling Firebase debugging via

adb shell setprop debug.firebase.analytics.app <package name>

nothing is sent to Firebase.

I found these commands which allows me to debug why debugging is not working correctly:

adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC

This will give me a log, which allows me to identify screen_view events:

Logging screen view with name, class: HomePage, HomeViewModel

It also tells me when a custom event is fired:

Recording user engagement, ms: 11463

How can I get more details on these user engagement events in logcat?

The error seems to be Missing google_app_id. Firebase Analytics disabled., by the way.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.