firebase / firebase/quickstart-android

setCurrentScreen cannot be called while no activity active

Open
#935 3 comments 1 reaction 0 assignees View on GitHub
api: analytics 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: Mi 5C
Android OS version: 7.1.2
Firebase-Core version: 17.0.0
**Step 2: Describe the problem:**
**Steps to reproduce:**
Calling setCurrentScreen inside onResume()
**Observed Results:**
In our app, when I called setCurrentScreen , got "setCurrentScreen cannot be called while no activity active".
Tried on a new Application, it works well
**Relevant Code:**
Calling setCurrentScreen inside onResume()

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.