浏览代码

added some missing steps

Added some missing steps on how to install and link package
Cyrus Zei 5 年前
父节点
当前提交
6cd6e7085e
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18
    0
      docs/v2/ios.md

+ 18
- 0
docs/v2/ios.md 查看文件

@@ -5,6 +5,24 @@
5 5
 * Xcode 10.0+
6 6
 * cocoapods
7 7
 
8
+```bash
9
+# Use npm
10
+npm install react-native-agora
11
+```
12
+or
13
+
14
+```bash
15
+# Use yarn
16
+yarn add react-native-agora
17
+```
18
+then you need to link the library
19
+
20
+```bash
21
+# Link the library
22
+react-native link react-native-agora
23
+```
24
+
25
+
8 26
 ```bash
9 27
 # installed ruby first then run it
10 28
 gem install cocoapods