![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
react-native
infinityDream
学习笔记
展开
-
[RN] reactnavigation配合StatusBar设置状态栏
本文将为大家介绍使用reactnavigation时如何配合使用StatusBar来设置和更改状态栏样式。本文只介绍tabnavigation的情况即2.x版本中使用createBottomTabNavigator创建的Tab导航。其它的情况在reactnavigation官网有详细的介绍,大家可以直接去看官方介绍:Different status bar configuration base...翻译 2018-09-07 19:45:04 · 4394 阅读 · 1 评论 -
转 react-native 日常报错 'config.h' file not found 解决 方法
cd node_modules/react-native/third-party/glog-0.3.4../../scripts/ios-configure-glog.shproduct -> clean build folder 其实执行 .sh 命令之后Terminal界面的一些处理流程,我们不难看出,这个命令是check .h头文件的引用情况,然后建立关联关系原文h...转载 2018-09-27 01:38:33 · 2501 阅读 · 1 评论 -
react-native code-push使用日志
1.安装clinpm install -g code-push-cli2.注册 code-push register3.在服务端注册你的APP,获取code-push-Key//code-push + app + add + APP名 + 平台 + 语言环境code-push app add Test-ios ios react-nativecode-push app...原创 2018-10-07 21:05:00 · 505 阅读 · 0 评论 -
react-native code-push使用日志多环境布置之Android
继上一篇|:react-native code-push使用日志原创 2018-10-07 22:06:25 · 291 阅读 · 0 评论 -
IOS 竖屏LaunchImage 分辨率
1242*2688 828*1972 1125*2436 1242*2208 750*1334 640*960 640*1136 320*480 IOS android还在测试 目前测试的比例是480*800 540*960 1200*1960 1440*2960原创 2018-10-18 19:08:08 · 170 阅读 · 0 评论 -
code-push 常用操作
codepush 常命令code-push login 登陆code-push loout 注销code-push access-key ls 列出登陆的tokencode-push access-key rm <accessKye> 删除某个 access-keycode-push app add 在账号里面添加一个新的appcode-push app remove 或者...原创 2018-10-30 22:24:11 · 1116 阅读 · 0 评论 -
error: uncompiled PNG file passed as argument. Must be compiled first into .flat file
2.报错:error: uncompiled PNG file passed as argument. Must be compiled first into .flat file 解:加入android.enableAapt2=false到 gradle.properties.转载 2018-11-13 01:01:24 · 614 阅读 · 0 评论 -
react 报错 Can't perform a React state update on an unmounted component.
作为React新手,刚开始的时候经常遇到这种报错,字面意思是:无法对卸载的的组件执行响应状态更新,也就是卸载后的组件不能设置state状态。警告全文:Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your ...原创 2019-02-27 21:07:42 · 3289 阅读 · 0 评论