Skip to content

Commit 1135247

Browse files
committed
udpate docs
1 parent 51ad6e1 commit 1135247

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@ npm install jcore-react-native --save(目前 jmessage-react-plugin 2.1.1 版
1010
react-native link
1111
```
1212

13+
##### (如果是原生应用集成 react-native)使用 CocoaPods 安装
14+
15+
在 Podfile 中添加如下代码:
16+
17+
```
18+
pod 'JPushRN', :path => '../node_modules/jpush-react-native'
19+
```
20+
21+
终端执行如下指令:
22+
23+
```
24+
pod install
25+
```
26+
1327
## 配置
1428

1529
#### Android

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jmessage-react-plugin",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "a jmessage plugin for react native application",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)