Skip to content Skip to sidebar Skip to footer

Firebase Screen Name Is Showing Not Set

I have created a project in Google Firebase Analytics and I am able to log screen names in the console. But for one screen screen_view is not recorded and it is showing as not set

Solution 1:

put

analytics.setCurrentScreen(this, "Screen Name", this.getClass().getSimpleName());

in onResume().

Solution 2:

Debug it in real-time with logcat to figure out why it's not properly set. My best guess is that you're trying to call setCurrentScreen() while passing an activity that's not in the proper state.

Possible solution: move logging to onResume().

Post a Comment for "Firebase Screen Name Is Showing Not Set"