【发布时间】:2018-11-22 05:27:24
【问题描述】:
我已经在我的聊天应用程序中实现了 firebasse 通知功能,一切运行良好,但现在在 Android os 8.0 和 8.1 中进行测试时,应用程序处于后台并且如果用户收到 4 个或超过 4 个通知,那么它会组合成组和当用户点击组然后没有得到意图并重新启动应用程序。
如果用户点击单个通知,那么我可以在特定屏幕中向他发送。
我想要通知数据或聊天 ID,以便我可以在特定屏幕中发送他,但不会收到任何意图数据。
我在 stackoverflow 中搜索过类似的问题,但仍然没有得到正确的结果。
Android: Clicking Grouped Notifications Restarts App
How to open non-launcher activity on notification group click
【问题讨论】:
标签: android android-intent google-cloud-firestore android-notifications android-8.0-oreo