1.0.2 • Published 5 months ago
@yoronsoft/rn-libs v1.0.2
npm i @yoronsoft/js-utils
// 支持react-native 版本 0.72.4
// storage
npm i @react-native-async-storage/async-storage@1.23.1
// clipboard
npm i @react-native-community/clipboard@1.5.1
// nav
npm i @react-navigation/bottom-tabs@6.5.8
npm i @react-navigation/native@6.1.7
npm i @react-navigation/stack@6.3.17
npm i react-native-screens@3.25.0
npm i react-native-safe-area-context@4.7.2
// deviceInfo
npm i react-native-device-info@10.9.0
// download
npm i react-native-fs@2.20.0
// languages
npm i react-native-localize@3.0.2
// qrcode
npm i react-native-svg@13.13.0
npm i react-native-qrcode-svg@6.2.0
// touchID
npm i react-native-touch-id@4.4.1
// iconfont
npm i react-native-vector-icons@10.0.0
// reanimated
npm i react-native-reanimated@3.5.4
// 配置 babel.config.js
module.exports = {
plugins: [
// 添加在最后一行
'react-native-reanimated/plugin',
]
};
// 项目创建需要安装
npm i react-native-gesture-handler
// 放在App.tsx 第一行
import "react-native-gesture-handler";