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

选择仅视频时,第一次无拍照权限,点击 拍摄按钮,申请通过后,会进入 拍照页面(应当进入 录像页面) #131

Open
smileToWxm opened this issue Oct 18, 2021 · 0 comments

Comments

@smileToWxm
Copy link

在 PBaseLoaderFragment 的 checkTakePhotoOrVideo时,进入 takeVideo,如果此时没有 相机权限,则会弹窗,允许之后会进入到 拍照页面(我是选择了录像), 原因是 在调用 requestPermissions方法时,传递的参数是 REQ_CAMERA并没有根据当前是视频还是 拍照所区分,而在权限回调之后 的处理 都是 跳拍照页面。导致错误

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

1 participant