Skip to content

Commit baf8e35

Browse files
author
zhanq
committed
更新readme
1 parent a02d1f0 commit baf8e35

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## ChangeLog
44

5-
1. 从RN-JCore1.6.0开始,Android集成插件时不需要在AndroidManifest.xml中添加配置代码
6-
2. 从RN-JPush2.7.5开始,重新支持TypeScript
5+
1. 从RN-JPush2.7.5开始,重新支持TypeScript
6+
2. 由于RN-JCore1.6.0存在编译问题,从RN-JCore1.7.0开始,还是需要在AndroidManifest.xml中添加配置代码,具体参考 配置-2.1 Android
77

88

99
## 1. 安装
@@ -54,6 +54,17 @@ npm install jpush-react-native --save
5454
project(':jcore-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/jcore-react-native/android')
5555
```
5656

57+
* AndroidManifest.xml
58+
59+
```
60+
<meta-data
61+
android:name="JPUSH_CHANNEL"
62+
android:value="${JPUSH_CHANNEL}" />
63+
<meta-data
64+
android:name="JPUSH_APPKEY"
65+
android:value="${JPUSH_APPKEY}" />
66+
```
67+
5768
### 2.2 iOS
5869

5970
### 2.2.1 pod

0 commit comments

Comments
 (0)