setCurrentScreen cannot be called while no activity active

未關閉
#935 3 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
30/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
android, kotlin
領域
mobile

研究方向

報告沒有指出任何儲存庫檔案或測試;從 onResume() 中的 setCurrentScreen 呼叫開始,並將失敗的應用程式與能正常運作的新 Application 進行比較。在所述的 Android 環境中重現生命週期時序,然後確認原因,並將完成定義為防止 no-activity-active 錯誤或記錄所需的使用方式。

由索引模型根據 Issue 內容生成。

描述

api: analytics type: bug

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()

主要語言
Kotlin
星號
9.3k
分支
7.4k
平均合併
7 天 9 小時
30 天內合併 PR
6

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

firebase/quickstart-android 的其他 Issue

查看 firebase/quickstart-android 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。