Skip to content

Commit f77c1f2

Browse files
authored
Update README.md
1 parent 6264ac3 commit f77c1f2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@
66
## 安装
77

88
```
9-
npm install aurora-imui-react-native --save
9+
npm install react-native-imui --save
1010
react-native link
1111
```
1212

1313
如果 link 安卓失败,需要手动修改一下 `settings.gradle` 中的引用路径:
1414

1515
```
16-
include ':app', ':aurora-imui-react-native'
17-
project(':aurora-imui-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/aurora-imui-react-native/ReactNative/android')
16+
include ':app', ':react-native-imui'
17+
project(':react-native-imui').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-imui/android')
1818
```
1919

2020
然后在 app 的 `build.gradle`中引用:
2121

2222
```
2323
dependencies {
24-
compile project(':aurora-imui-react-native')
24+
compile project(':react-native-imui')
2525
}
2626
```
2727

28-
**注意事项(Android):我们使用了 support v4, v7 25.3.1 版本,因此需要将你的 build.gradle 中 buildToolsVersion 及 compiledSdkVersion 改为 25 以上。可以参考 sample 的配置。**
28+
**注意事项(Android):我们使用了 support v4, v7 25.3.1 版本,因此需要将你的 build.gradle 中 buildToolsVersion 及 compiledSdkVersion 改为 25 以上。可以参考 demo 的配置。**
2929

3030
## 配置
3131

@@ -54,10 +54,8 @@ dependencies {
5454

5555

5656
- ### iOS
57-
5857
- PROJECT -> TARGETS -> Build Settings -> Enable Bitcode Set to No
5958
- Find PROJECT -> TARGETS -> General -> Embedded Binaries and add RCTAuroraIMUI.framework
60-
- 构建你的项目之前,你需要构建 RCTAuroraIMUI.framework
6159

6260
## 数据格式
6361

0 commit comments

Comments
 (0)