-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
Gallery option is not showing #20
Comments
Which version of the library are you using @Viral891 ? |
implementation 'com.canhub.cropper:android-image-cropper:1.1.0' |
OK, look like a bug, will investigate later. @Viral891 could you please add
Thanks! |
Device Name: Mi Redmi Note 7 Pro
`Permission Library: Permission Code:
//Permission Granted
` |
sorry this is not possible. About the Bug@Viral891 could not reproduce, look like a permissions library issue. Google change a lot the storage permissions on Android 10 and enforce it for Android 11. We change the code to use Scope Storage and the permissions need to be update Would suggest to use google Request Permissions, like this android/permissions-samples#8 Local TestIf you want to test the library code without interferences in your device, checkout the main branch and build the
|
I have the same issue. Android 10.
|
@rexyrex Could you reproduce with one of the build provide in the project like I ask?
|
@Canato I'm quite new to this. How would I go about testing the different builds that you mentioned above? I've only tried implementing the most recent version into my app |
@Canato I finally found the time to get around to this. I've tested all 3 projects and only "Camera" and "Files" is listed |
This will be done with a code refactor of |
We've encountered the same error. |
@datdescartes what about camera option not showing for few phones? |
@kaustubhkp could you tell me which device and android version? |
@kaustubhkp I've just updated the PR that possibly fix the camera bug. |
@datdescartes here are details about issue I was mentioning #52 |
@kaustubhkp I see. Thank you. |
@Canato do you have any idea how long will this PR take to merge to library ? |
@kaustubhkp will do some tests, if everything is fine we merge now and I open the release PR |
* fixed bug that Gallery picker option is not showing * fixing android Q permission * removed unused query permission * added workaround for android Q that only shows up 2 items * removing TODO, adding CHANGELOG for #20, #52 fixes * bugfixed, handle picker result on fragment Co-authored-by: dat <datvu@macbook>
Android 10
Using Android Studio 3.6.3
I followed the steps as given but only camera and file options show up in the intent . The gallery option is not visible.I am also using the latest version of the library.
The text was updated successfully, but these errors were encountered: