yarn android
注意:build.gradle配置
maven { url 'https://maven.aliyun.com/repository/google' }
// jcenter()
maven { url 'https://maven.aliyun.com/repository/jcenter' }
request:/src/utils/request.ts 上传文件:/src/utils/requestUpload.ts 请求示例:/src/services/test.ts websocket:/src/utils/websockets.ts
地址:https://reactnativeelements.com/docs/
地址:https://github.com/oblador/react-native-vector-icons https://oblador.github.io/react-native-vector-icons/
地址:https://reactnavigation.org/docs/hello-react-navigation
地址:https://react-native-async-storage.github.io/async-storage/docs/api
地址:https://github.com/jhen0409/react-native-debugger
npm i react-native-neomorph-shadows
npm install @react-native-community/art --save
cd ios && pod install && cd ..
react-native-audio版本较低需要进行修改:AudioRecorderManager文件
-import android.support.v4.app.ActivityCompat;
-import android.support.v4.content.ContextCompat;
+import androidx.core.app.ActivityCompat;
+import androidx.core.content.ContextCompat;