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

Error while click on button #10

Open
UmangThakkar opened this issue May 2, 2018 · 2 comments
Open

Error while click on button #10

UmangThakkar opened this issue May 2, 2018 · 2 comments

Comments

@UmangThakkar
Copy link

java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=android/com.android.internal.app.ResolverActivity clip={text/uri-list U:file:///storage/emulated/0/EasyOcrScanner/1525235581304.jpg} (has extras) } from ProcessRecord{ab4ef9d 24823:com.example.umangthakkar.electrofycustomer/u0a200} (pid=24823, uid=10200) with revoked permission android.permission.CAMERA

Please give the solution

@UmangThakkar
Copy link
Author

I am not running in Emulator. Please guide me changes as m running in my smartphone android

@knspatel
Copy link

@UmangThakkar , as of now inside lib, there isn't any permission model set for granting permission android M and above devices. you need to manually grant all permissions (camera and storage) form application details. it will be fixed your flow temporary.

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