![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
react-native
Forever石头
这个作者很懒,什么都没留下…
展开
-
使用过比较好的第三方组件记录
@ant-design/react-native //蚂蚁金服@react-native-community/art@react-native-community/async-storage //缓存@react-native-community/cameraroll //存入相册@react-native-community/clipboard //复制@react-native-community/netinfo //网络监听@react-native-community/sli原创 2021-05-12 11:12:26 · 124 阅读 · 0 评论 -
React Native 导航自定义跳转动画
const pageTransitionConfig = { transitionSpec: { duration: 400, easing: Easing.out(Easing.poly(4)), timing: Animated.timing, useNativeDriver:true }, screenInterpolator: sceneProps => { const {layout, p...原创 2021-05-12 11:06:37 · 425 阅读 · 0 评论 -
React Native 常用第三方组件
https://blog.csdn.net/devilnov/article/details/89489834原创 2021-05-12 11:04:20 · 179 阅读 · 0 评论 -
react-native 安装react-native-camera报错
报错信息: Could not determine the dependencies of task ':app:preDebugBuild'.> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. > Could not resolve project ...原创 2020-03-03 09:49:14 · 715 阅读 · 0 评论 -
react-native-modal 状态栏变白
1、npm install react-native-modal-translucent --save2、在package.json 中的 scripts 里面加入"lint": "eslint .","fix-modal": "node node_modules/react-native-modal-translucent/scripts/translucent-modal.js",...原创 2019-12-12 15:44:44 · 687 阅读 · 0 评论 -
react-native 开发自己的npm组件
1、创建自定义模板项目(1) 安装react-native-create-librarynpm install -g react-native-create-library(2)创建模板项目react-native-create-library --package-identifier com.quenice.cardview --platforms android,ios M...原创 2019-12-11 16:18:35 · 328 阅读 · 0 评论 -
react-native 定义变量和全局变量的调用
1、导入、导出文件导出文件contacts.jsconst object = { website:'http://www.hao123.com', name:'好123',};export default object;导入文件App.jsimport constants from './constansts.js'import React,{Componen...原创 2019-11-27 10:05:15 · 1450 阅读 · 1 评论 -
npm 安装报错出现 npm ERR! Unexpected end of input at 1:8734
执行命令: npm cache clean --force然后再安装 搞定原文链接:http://www.cnblogs.com/GarsonZhang/p/8073165.html转载 2019-10-15 10:47:29 · 305 阅读 · 0 评论 -
react-native 音频播放
react-native-sound安装: 1、npm install react-native-sound 2、react-native link react-native-sound //建议使用手动linkgihub地址:https://github.com/zmxv/react-native-sound使用: 引入:im...原创 2019-07-18 17:09:32 · 2191 阅读 · 0 评论