Skip to content

Commit 7ec953d

Browse files
author
wicked-tc130
authored
Update README.md
1 parent eb7c67d commit 7ec953d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ $(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule
4949
implementation "com.facebook.react:react-native:+" // From node_modules
5050
}
5151
```
52+
同时在AndridManifest.xml中添加如下代码
53+
```
54+
<meta-data
55+
android:name="JPUSH_CHANNEL"
56+
android:value="${JPUSH_CHANNEL}" />
57+
<meta-data
58+
android:name="JPUSH_APPKEY"
59+
android:value="${JPUSH_APPKEY}" />
60+
```
5261

5362
- 修改setting.gradle配置:
5463

0 commit comments

Comments
 (0)