Skip to content

Commit 273d3fa

Browse files
committed
更新JPush 460
1 parent 100f211 commit 273d3fa

5 files changed

Lines changed: 19 additions & 5 deletions

File tree

-547 KB
Binary file not shown.
671 KB
Binary file not shown.

android/src/main/AndroidManifest.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,18 @@
7979
</receiver>
8080

8181
<receiver android:name="cn.jpush.android.service.SchedulerReceiver" android:exported="false"/>
82-
82+
<!-- since 4.6.0 Required SDK核心功能 -->
83+
<activity
84+
android:name="cn.android.service.JTransitActivity"
85+
android:exported="true"
86+
android:taskAffinity="jpush.custom"
87+
android:theme="@style/JPushTheme" >
88+
<intent-filter>
89+
<action android:name="cn.android.service.JTransitActivity" />
90+
<category android:name="android.intent.category.DEFAULT"/>
91+
<category android:name="${applicationId}" />
92+
</intent-filter>
93+
</activity>
8394
<activity android:name="cn.jpush.android.service.DActivity"
8495
android:enabled="true"
8596
android:exported="true"

example/android/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ buildscript {
1010
}
1111
repositories {
1212
google()
13-
jcenter()
13+
maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
14+
1415
}
1516
dependencies {
1617
classpath("com.android.tools.build:gradle:3.4.1")
@@ -33,6 +34,7 @@ allprojects {
3334
}
3435

3536
google()
36-
jcenter()
37+
maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
38+
3739
}
3840
}

example/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010
"jcore-react-native": "1.9.2",
1111
"jpush-react-native": "2.8.3",
1212
"react": "16.8.6",
13-
"react-native": "0.60.5"
13+
"react-native": "0.60.5",
14+
"update": "^0.7.4"
1415
},
1516
"devDependencies": {
1617
"@babel/core": "^7.5.0",
1718
"@babel/runtime": "^7.5.0",
1819
"@react-native-community/eslint-config": "^0.0.3",
1920
"babel-jest": "^24.1.0",
2021
"jest": "^24.1.0",
21-
"metro-react-native-babel-preset": "0.54.1",
22+
"metro-react-native-babel-preset": "0.68.0",
2223
"react-test-renderer": "16.8.6"
2324
},
2425
"jest": {

0 commit comments

Comments
 (0)