Skip to content

Commit 11c4b92

Browse files
committed
fix 安卓点击通知不回调问题,更新版本号为3.1.8
1 parent 3e94519 commit 11c4b92

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

android/src/main/java/cn/jiguang/plugins/push/JPushModule.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public void init() {
6666
JPushHelper.sendEvent(JConstants.NOTIFICATION_EVENT, writableMap);
6767
JPushBroadcastReceiver.NOTIFICATION_BUNDLE = null;
6868
}
69+
JPushInterface.setNotificationCallBackEnable(reactContext,true);
6970
}
7071

7172
@ReactMethod

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"jcore-react-native": "^2.3.0",
14-
"jpush-react-native": "^3.1.7",
14+
"jpush-react-native": "^3.1.8",
1515
"react": "18.2.0",
1616
"react-native": "0.74.1"
1717
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "index.d.ts",
77
"license": "ISC",
88
"author": "wicked.tc130",
9-
"version": "3.1.7",
9+
"version": "3.1.8",
1010
"repository": {
1111
"type": "git",
1212
"url": "https://github.com/jpush/jpush-react-native"

0 commit comments

Comments
 (0)