We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f183f4 commit 5242052Copy full SHA for 5242052
index.js
@@ -28,7 +28,7 @@ export default class JPush {
28
29
/*
30
* 初始化推送服务
31
- *
+ *
32
* 请在componentDidMount()调用init,否则会影响通知点击事件的回调
33
* */
34
static init() {
@@ -336,7 +336,9 @@ export default class JPush {
336
*
337
* notificationType:分为notificationArrived和notificationOpened两种
338
339
- * 注意:应用在存活状态下点击通知不会有跳转行为,应用在被杀死状态下点击通知会启动应用
+ * 注意:1.应用在存活状态下点击通知不会有跳转行为,应用在被杀死状态下点击通知会启动应用
340
+ * 2.请在JS的componentDidMount()中调用JPush.init()保证消息点击事件到达率
341
+ * 3.请在Android的Application onCreate()中调用JPushModule.registerActivityLifecycle(this)保证应用后台点击通知能切到前台
342
343
344
static addNotificationListener(callback) {
0 commit comments