Skip to content

Commit 690e2b7

Browse files
authored
Update README.md
1 parent b52a473 commit 690e2b7

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77

88
```
99
npm install react-native-imui --save
10-
react-native link
1110
```
12-
13-
如果 link 安卓失败,需要手动修改一下 `settings.gradle` 中的引用路径:
14-
11+
`settings.gradle` 中的引用路径:
1512
```
1613
include ':app', ':react-native-imui'
1714
project(':react-native-imui').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-imui/android')
15+
include ':react-native-imui:chatinput'
16+
include ':react-native-imui:messagelist'
17+
include ':react-native-imui:popuptool'
18+
include ':react-native-imui:emoji'
19+
include ':react-native-imui:photoViewPagerview'
20+
include ':react-native-imui:photoViewPagerview:photodraweeview'
1821
```
1922

2023
然后在 app 的 `build.gradle`中引用:
@@ -50,12 +53,10 @@ dependencies {
5053

5154

5255

53-
54-
55-
5656
- ### iOS
57-
- PROJECT -> TARGETS -> Build Settings -> Enable Bitcode Set to No
5857
- Find PROJECT -> TARGETS -> General -> Embedded Binaries and add RCTAuroraIMUI.framework
58+
 - 把 `iOSResourcePacket` 目录`NIMKitEmoticon.bundle`拖到Xcode`Resources`目录下
59+
-`iOSResourcePacket` 目录`IMGS`拖到Xcode`Images.xcassets`
5960

6061
## 数据格式
6162

0 commit comments

Comments
 (0)