diff --git a/android/libs/jpush-android-3.0.7.jar b/android/libs/jpush-android-3.0.7.jar new file mode 100755 index 00000000..232933e5 Binary files /dev/null and b/android/libs/jpush-android-3.0.7.jar differ diff --git a/android/libs/jpush-android_v3.0.6.jar b/android/libs/jpush-android_v3.0.6.jar deleted file mode 100644 index ef6e96f5..00000000 Binary files a/android/libs/jpush-android_v3.0.6.jar and /dev/null differ diff --git a/example/package.json b/example/package.json index e32a8015..ac32a927 100644 --- a/example/package.json +++ b/example/package.json @@ -11,7 +11,8 @@ "jpush-react-native": "^1.6.0", "react": "^15.4.0", "react-native": "^0.41.2", - "react-native-onesignal": "^3.0.4" + "react-native-onesignal": "^3.0.4", + "react-navigation": "^1.0.0-beta.11" }, "devDependencies": { "babel-core": "^6.23.1", diff --git a/example/react-native-android/push_activity.js b/example/react-native-android/push_activity.js index d152245d..269a2e7c 100644 --- a/example/react-native-android/push_activity.js +++ b/example/react-native-android/push_activity.js @@ -109,7 +109,7 @@ export default class PushActivity extends React.Component { }); JPushModule.addReceiveOpenNotificationListener((map) => { console.log("Opening notification!"); - console.log("map.extra: " + map.key); + console.log("map.extra: " + map.extras); JPushModule.jumpToPushActivity("SecondActivity"); }); JPushModule.addGetRegistrationIdListener((registrationId) => { diff --git a/headlessTask.js b/headlessTask.js deleted file mode 100644 index 94122798..00000000 --- a/headlessTask.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = async(taskData) => { - console.log("HeadlessTask is running, got data: " + taskData); -} \ No newline at end of file diff --git a/package.json b/package.json index be0cca48..ab7a731f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jpush-react-native", - "version": "1.7.0", + "version": "1.7.1", "description": "a jpush plugin for react native application", "main": "index.js", "scripts": { @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/jpush/jpush-react-native#readme", "peerDependencies": { - "jcore-react-native": ">= 1.0.0" + "jcore-react-native": ">= 1.1.5" }, "rnpm": { "ios": {