Can't show notification on system tray after restart device. (FCM)
@kroikie 已经在做这个了。
开始于 2019年1月29日。
评估
这个 Issue 还没有评估数据。
描述
Step 1: Are you in the right place?
Yes, I'm running the message project. (FCM)
Step 2: Describe your environment
- Android device: Sumsang Note 8
- Android OS version: 8.0
- Google Play Services version: 14.7.99
- Firebase/Play Services SDK version: 17.3.4
Step 3: Describe the problem:
When app is in foreground or in background (is running), works well. but once stoped by system or restart the device, can't receive notification to show on the system tray.
Steps to reproduce:
- Install the message app (quickstart-android/message) on device; and open it
- Push notification from Firebase console; works.
- put the app to the background
- push notification from Firebase console again, also works
- Restart device
- push notification from Firebase console, can NOT show notification on system tray.
Observed Results:
Nothing can be see on logcat
Expected Results:
When restart device, the notification should show on System tray, just like running in background.
Relevant Code:
has no extra code.
add result,
Run the following command,
adb shell dumpsys com.ginko.ginko | grep stopped
get lots of output like,
.....
User 0: ceDataInode=0 installed=true hidden=false suspended=false stopped=false notLaunched=false enabled=0 instant=false
User 150: ceDataInode=0 installed=true hidden=false suspended=false stopped=false notLaunched=false enabled=0 instant=false
....
- 主要语言
- Kotlin
- 星标
- 9.3k
- 派生
- 7.4k
- 平均合并
- 7 天 9 小时
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
firebase/quickstart-android 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
firebase/quickstart-android#2756 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
firebase/quickstart-android#2754 · 5 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 32/100
firebase/quickstart-android#2668 ·
-
难度 4/5 3-5 天 新手友好度 25/100
firebase/quickstart-android#2663 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
firebase/quickstart-android#1669 · 3 条评论 ·
查看 firebase/quickstart-android 的全部 Issue
相似的 Issue
-
android:plan main:plan packages:learn
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
Needs Triage
难度 2/5 1-3 小时 新手友好度 72/100
ankidroid/Anki-Android#23453 ·
维护者通常 1 天内回复
-
afk-ok area:data-quality importer size:S
难度 2/5 1-3 小时 新手友好度 78/100
enorm-labs/event-junkie#5278 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
bazel-contrib/rules_kotlin#1846 ·
维护者通常 2 天内回复