Skip to content

Commit

Permalink
udpate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
huangminlinux committed Jan 24, 2018
1 parent 51ad6e1 commit 1135247
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@ npm install jcore-react-native --save(目前 jmessage-react-plugin 2.1.1 版
react-native link
```

##### (如果是原生应用集成 react-native)使用 CocoaPods 安装

在 Podfile 中添加如下代码:

```
pod 'JPushRN', :path => '../node_modules/jpush-react-native'
```

终端执行如下指令:

```
pod install
```

## 配置

#### Android
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jmessage-react-plugin",
"version": "2.2.0",
"version": "2.2.1",
"description": "a jmessage plugin for react native application",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 1135247

Please sign in to comment.