Skip to content

Conversation

bashen1
Copy link

@bashen1 bashen1 commented Jul 16, 2020

原先在以下操作下存在addNotificationListener无法触发的问题

  1. 打开进入应用
  2. 按安卓的返回键或者手势进行退出【非任务管理,结束进程】
  3. 发送推送通知
  4. 点击推送通知,打开应用并没有触发addNotificationListener

原因:

public void onNotifyMessageOpened(Context context, NotificationMessage notificationMessage) {

接收到通知点击后,启动app,并发送事件。但是上述情况是退出app,发送事件时,js端还未添加监听事件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant