Getting error after 1 min of app closed

未关闭
#857 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
android
领域
mobile-dev

调研方向

先从报告中的 ActivityManager、FirebaseInstanceId 和 WakeLock 日志开始,然后检查错误中提到的 MyFirebaseMessagingService 入口点。在应用关闭后复现通知投递,并比较不同设备上的行为。当通知能够在不出现所报告的 ServiceIntent 错误的情况下投递,或已记录设备特定的限制及所需处理方式时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

api: messaging type: bug

Getting below error after 1 min of app closed and when tring to send notification

4-09 13:00:41.860 1367 1685 W ActivityManager: Background start not allowed: service Intent { act=com.google.firebase.MESSAGING_EVENT pkg=com.vrk.testFCM1 cmp=com.vrk.testFCM1/.MyFirebaseMessagingService (has extras) } to com.vrk.testFCM1/.MyFirebaseMessagingService from pid=27640 uid=10258 pkg=com.vrk.testFCM1
04-09 13:00:41.861 27640 27640 E FirebaseInstanceId: Error while delivering the message: ServiceIntent not found.
04-09 13:00:41.865 3362 3435 E WakeLock: GCMSEND release without a matched acquire!
04-09 13:00:41.865 3362 3435 W WakeLock: GCMSEND counter does not exist

I think its device specific, but need how to handle in code.

主要语言
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 摘要。