firebase / firebase/quickstart-android

Manual tracking does not work when using Intents.

Open
#954 7 comments 0 reactions 0 assignees View on GitHub
api: analytics needs-attention type: bug
Dominant language
Kotlin
Stars
9.3k
Forks
7.4k
Avg merge
2d 19h
Merged PRs (30d)
8

Description

### Step 1: Describe your environment

* Android device: Pixel 3
* Android OS version: Android 9
* Google Play Services version:
* Firebase/Play Services SDK version: 17.2.0

### Step 2: Describe the problem:
While using the ```setCurrentScreen``` method to manually track user engagements, the ```screen_name``` is omitted when using ```Intent``` to move from one ```activity``` to another.

However, if a ```FragmentTransaction``` is executed, the ```screen_name``` tag is logged successfully.

#### Observed Results:

* The ```screen_name``` tag is not logged when using an Intent. However it works as expected when using ```FragmentTransaction```.


#### Expected Results:

* The ```setCurrentScreen``` should log the screen_name as expected for both scenarios.

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.