Skip to content
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

相机不允许使用时,打开扫码功能会闪退 #10

Closed
aq09312201 opened this issue Dec 9, 2020 · 5 comments
Closed

相机不允许使用时,打开扫码功能会闪退 #10

aq09312201 opened this issue Dec 9, 2020 · 5 comments

Comments

@aq09312201
Copy link

crash

@xuzhongpeng
Copy link
Owner

xuzhongpeng commented Dec 11, 2020

你说的是比如在模拟器上时,打开了扫码会闪退吧。目前是这样,你必须保证您的手机上有相机才能尝试打开本库的扫码相机,如果没有的情况下需要您自己判断加载内容,不然相机内容显示的地方就不知道如何定义了。你看是否解决了你的问题

@aq09312201
Copy link
Author

nonono,在真机上,如果真机不允许访问拍照权限,直接崩到sdk里面去了,sdk里面没有判断权限

@xuzhongpeng
Copy link
Owner

nonono,在真机上,如果真机不允许访问拍照权限,直接崩到sdk里面去了,sdk里面没有判断权限

请提供一下复现机型,我在小米9手机上测试没有问题

@aq09312201
Copy link
Author

iPhone x设备,应该是所有ios设备

xuzhongpeng added a commit that referenced this issue Dec 22, 2020
2. fix [10 相机不允许使用时,打开扫码功能会闪退](#10)
@xuzhongpeng
Copy link
Owner

iPhone x设备,应该是所有ios设备

fix in 2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants