File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ react-native link
1414
1515#### Android
1616
17- #### 这是一个使用 JMessage-sdk 的 React Native 插件,支持文字、图片、语言、文件消息。
18-
1917
2018安装完毕后,在 MainApplication 中加上 JMessagePackage 即可。
2119```
@@ -28,6 +26,21 @@ protected List<ReactPackage> getPackages() {
2826}
2927```
3028
29+ #### iOS
30+
31+ - 打开工程,进入 Build Settings -> Framework search paths 添加 framework 搜索路径
32+
33+ ```
34+ $(SRCROOT)/../node_modules/jmessage-react-plugin/ios/RCTJMessageModule
35+ ```
36+
37+ - 打开工程,进入 Build Settings -> Other Link Flag 添加一行编译选项
38+
39+ ```
40+ -framework "JMessage"
41+ ```
42+
43+
3144## API
3245
3346[ API doc] ( ./document/API.md )
Original file line number Diff line number Diff line change 3737 " CoreAudio" ,
3838 " AudioToolbox" ,
3939 " MobileCoreServices" ,
40- " libsqlite3.0 "
40+ " libsqlite3"
4141 ]
4242 }
4343 },
You can’t perform that action at this time.
0 commit comments