firebase / firebase/quickstart-android

setCurrentScreen in onResume sends screen_view twice

Open
#782 6 comments 1 reaction 0 assignees View on GitHub
api: analytics
Dominant language
Kotlin
Stars
9.3k
Forks
7.4k
Avg merge
2d 19h
Merged PRs (30d)
8

Description

We are trying to set a custom name or class name to the screen of the `screen_view` event but the event is sent twice even if we do it inside `onResume` of the activity.

https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics#setCurrentScreen(android.app.Activity,%20java.lang.String,%20java.lang.String)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.