-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android app在退出状态时,点击通知,rammus.onNotificationOpened.listen不能监听到,是正常的吗? #29
Comments
是不是flutter还没有加载完成(绑定onNotificationOpened),就触发了钩子函数? |
同问,我也是这个情况, app在后台可以监听到通知, 如果杀死app后点击推送接受不到监听通知。 |
这个时候Flutter Engine没有创建,显然是监听不到的 |
我的情况是有时候可以监听到,有时不能。 |
不是flutter性能引起的,一个是推送送达率,二你仔细分析一下逻辑------------------ 原始邮件 ------------------
发件人: "Bangshun&nbsp;Huang"<[email protected]>
发送时间: 2021年1月25日(星期一) 下午5:06
收件人: "OpenFlutter/rammus"<[email protected]>;
抄送: "JarvanMo"<[email protected]>;"Comment"<[email protected]>;
主题: Re: [OpenFlutter/rammus] Android app在退出状态时,点击通知,rammus.onNotificationOpened.listen不能监听到,是正常的吗? (#29)
|
噢 好像是因为-通知点击回调为onNotificationClickedWithNoAction而不是onNotificationOpened |
把 onNotificationOpened 逻辑复用到 onNotificationClickedWithNoAction 里,能 fix 这个 issue 嘛 |
app退出状态下,点击通知唤醒app,onNotificationClickedWithNoAction 还是监听不到通知,注册rummus的代码已经提前到runApp(MyApp()) 之前了,是不是我的操作不对? |
请问 你解决了么? |
Android app在退出状态时,点击通知,rammus.onNotificationOpened.listen不能监听到,是正常的吗?
请大佬指点该如何解决这个问题。感谢
The text was updated successfully, but these errors were encountered: