移动端(reactnative/flutter)
移动端开发
卷王出征
应届菜狗
展开
-
我的reactNative项目用到的插件、组件及依赖
我的第一个reactNative项目用到的插件、组件及依赖安装reactnativenpx react-native init NavStudy --version 0.60.0 //版本号自行定义安装react-navigation npm install react-navigation安装这些运行时依赖( react-native-reanimatedreact-native-gesture-handlerreact-native-screensreact-nativ原创 2020-05-27 09:57:07 · 374 阅读 · 0 评论 -
reactnative不允许http解决方法
解决方法文中方法3改变的文件是 src——>main——>res下的转载 2020-05-27 19:10:44 · 784 阅读 · 0 评论 -
reactnative中flex布局
在普通移动端网页中,加display:flex默认水平排布在reactnative中,view(不写flex)默认是display:flex布局,但是却是竖直排布原创 2020-08-21 22:17:46 · 154 阅读 · 0 评论 -
可以把html转化为reactnative
npm install react-native-htmlview --save原创 2020-08-21 22:17:16 · 271 阅读 · 0 评论 -
react-native 播放视频插件
下载npm install --save react-native-video链接视频库react-native link react-native-video原创 2020-08-21 22:16:27 · 424 阅读 · 0 评论 -
reactnative——关闭所有黄色警告的代码
把下面代码添加在index.js中的AppRegistry.registerComponent()前面console.ignoredYellowBox = ['Warning:BackAndroid is deprecated. Please use BackHandler instead.','source.uri should not be an empty string','Invalid props.style key'];console.disableYellowBox = true原创 2020-05-31 16:26:01 · 588 阅读 · 0 评论