@yoronsoft/rn-core
v1.1.0
Published
```text 创建项目 npx @react-native-community/cli init rn_your_project_name --version 0.73.9
Downloads
270
Maintainers
Readme
创建项目
npx @react-native-community/cli init rn_your_project_name --version 0.73.9
安装框架
npm i @yoronsoft/js-utils
npm i @yoronsoft/rn-core
--- 复制 rn-core-template 中的代码到项目中
--- 需要单独在项目中安装
npm i react-native-device-info
npm i @react-native-async-storage/async-storage
// 导航
npm i @react-navigation/native
npm i @react-navigation/stack
npm i react-native-screens
npm i react-native-safe-area-context
npm i @react-navigation/bottom-tabs
// 动画
npm i react-native-reanimated
// 需要再App.tsx 第一行添加: import 'react-native-gesture-handler';
npm i react-native-gesture-handler
--- 安装完成
修改 ndkVersion
android -> build.gradle -> ndkVersion = "26.3.11579264"