-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demo实例无法实现拍照功能 #3
Comments
请问什么环境下,需要详细一点详细,闪退错误日志是什么 |
"react": "16.0.0-beta.5", |
Android 还是 iOS |
Android ,Windows环境 |
真机吗 |
是的,nexus5和小米note |
华为也掉不出相机。白屏闪退 |
@zhengyeye 可以提供一下错误日志吗?连接USB在as里查看 |
早上看到了,android6以下可以正常调出相机,使用正常,6以上的系统就会出现这种问题,你用6以上的系统手机试试看。没有错误日志,是直接退出的~ |
加一下权限 @zhengyeye @1994Lee |
android 6以上是动态申请权限,记得使用插件前申请,后续应该会添加权限申请。 |
大兄弟,安卓6+照相的的问题,不止是动态赋值权限的问题,即使使用前赋值了权限,依然会有问题的。你使用的PictureSelector为2.1.1的,要更新成最新版2.1.7的,然后把PictureSelector.create(currentActivity)配置换成2.1.7的配置之后,就好了,我给你贡献点代码吧. |
@vipstone 非常感谢,晚点测试一下发布V0.0.6 |
@zhengyeye npm上版本已经是0.0.7 你也可以直接使用git链接npm |
@giantss 具体不详,更新了PictureSelector 之后就好了。 |
ImagePickerExample实例选择拍摄就出现闪退的情况
The text was updated successfully, but these errors were encountered: