Skip to content

Commit b23da60

Browse files
committed
update readme
1 parent 064022d commit b23da60

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,27 @@
77
```
88
npm install jverification-react-native --save
99
npm install jcore-react-native --save
10+
```
11+
## 链接
12+
13+
##### 通过脚手架生成的项目(react-native init):
14+
15+
如果工程不是通过 Cocoapods 来集成 ReactNative 的可以直接使用下面代码来 link 插件。
16+
17+
```
1018
react-native link
1119
```
20+
21+
##### 通过 Cocoapods 集成的 react-native 项目:
22+
23+
如果想使用 Cocoapods 来集成这个项目,可以在 Podfile 中加入如下配置(如果没听过 Cocoapods 下面配置不用管。):
24+
25+
```
26+
pod 'JVerificationRN', :path => '../node_modules/jverification-react-native'
27+
```
28+
29+
30+
1231
## 配置
1332

1433
#### iOS

0 commit comments

Comments
 (0)