diff --git a/README.md b/README.md index 9b1617d..1874ea2 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,18 @@ defaultConfig { ] } ``` +- 配置JCore-react-native + +1) /android/setting.gradle中添加 +``` +include ':jcore-react-native' +project(':jcore-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/jcore-react-native/android') +``` +2)/android/app/build.gradle中添加 +``` +compile project(':jcore-react-native') +``` +3) 非常重要Clean Project 在 MainApplication 中加上 JMessagePackage 即可,JMessagePackage 有一个参数,设置是否弹出 toast。 ```