ArthurHub / Android-Image-Cropper

Image Cropping Library for Android, optimized for Camera / Gallery.
Apache License 2.0
6.39k stars 1.36k forks source link

Gallery option is not shown for Android 10 #730

Open mrharsh2804 opened 4 years ago

mrharsh2804 commented 4 years ago

Hi,

I have imagepicker already working in my project. It was woking good with Android 9. But, with one plus 6t android 10, it only gives me options for Camera, YouCam and DropBox. I tried it with the emulator and it shows Google photos as well but not in OP 6t. Screenshot attached.

you please suggest any solutions or alternatives?

Screenshot_20200102-123114

Mikuno commented 4 years ago

Same problem on my OnePlus 6t

leocorder commented 4 years ago

Same problem here on OnePlus 6t A6010, running android 10.

akinsete commented 4 years ago

Same issue, anyone found a fix for this. Happening on Pixel 3a,

mrharsh2804 commented 4 years ago

Same issue, anyone found a fix for this. Happening on Pixel 3a,

I thought Pixel is showing Google Photos option. Is it not? And Photos is the default gallery option in Pixel, isn't it!!!

svangsgaard commented 4 years ago

I also have this issue on OnePlus 6T. Help is much appreciated. Thank you :)

i-m-aman commented 4 years ago

This is because the Library is using EXTRA_INITIAL_INTENTS as an extra to the chooserintent. In Android 10 and above, if we use EXTRA_INITIAL_INTENTS then Android will show Top 3 Apps. You all must be seeing only 3 Apps. The Library needs to be updated.

ravijavadevelop commented 4 years ago

Hi Guys

I am also facing the same issue.. any luck ???

aeharake commented 4 years ago

@ravijavadevelop @i-m-aman So guys did you manage to be able to add Gallery option (or photos for Pixel phones) for this context sheet?

rishabhtech1994 commented 4 years ago

The same issue is appearing in Android X in One plus 6. Kindly any possible solution for this.??

kashyapasrc commented 4 years ago

Hi Guys, same problem, any solution please

aeharake commented 4 years ago

You cannot fix this issue.

On Mon, Jun 8, 2020, 12:41 Addepalli Sri Rama Chandra Kashyap < notifications@github.com> wrote:

Hi Guys, same problem, any solution please

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ArthurHub/Android-Image-Cropper/issues/730#issuecomment-640493651, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYWXRYDCZOX6PTUT46NOYLRVSW5XANCNFSM4KCGNHBA .

aeharake commented 4 years ago

unless you modify the library. Try to fork it and fix it yourself. But there is no workaround to make it work for this issue.

On Tue, Jun 9, 2020, 12:59 Ahmad El Harake aeharake@gmail.com wrote:

You cannot fix this issue.

On Mon, Jun 8, 2020, 12:41 Addepalli Sri Rama Chandra Kashyap < notifications@github.com> wrote:

Hi Guys, same problem, any solution please

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ArthurHub/Android-Image-Cropper/issues/730#issuecomment-640493651, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYWXRYDCZOX6PTUT46NOYLRVSW5XANCNFSM4KCGNHBA .

vikasrairajput commented 4 years ago

@i-m-aman @aeharake I m facing the same issue..can you explain how to handle this issue?

buryware commented 4 years ago

Do you have a gallery?

Works for me, because I have a gallery.

No gallery, no intent.

From: aeharake [mailto:notifications@github.com] Sent: Tuesday, June 9, 2020 3:01 AM To: ArthurHub/Android-Image-Cropper Cc: Subscribed Subject: Re: [ArthurHub/Android-Image-Cropper] Gallery option is not shown for Android 10 (#730)

unless you modify the library. Try to fork it and fix it yourself. But there is no workaround to make it work for this issue.

On Tue, Jun 9, 2020, 12:59 Ahmad El Harake aeharake@gmail.com wrote:

You cannot fix this issue.

On Mon, Jun 8, 2020, 12:41 Addepalli Sri Rama Chandra Kashyap < notifications@github.com> wrote:

Hi Guys, same problem, any solution please

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ArthurHub/Android-Image-Cropper/issues/730#issuecomment-640493651, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYWXRYDCZOX6PTUT46NOYLRVSW5XANCNFSM4KCGNHBA .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ArthurHub/Android-Image-Cropper/issues/730#issuecomment-641181242 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP7MAW63DEUOUG65VKKZULRVYB6RANCNFSM4KCGNHBA . https://github.com/notifications/beacon/ABP7MAV54S557D6XI2RW473RVYB6RA5CNFSM4KCGNHBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEY32MOQ.gif

matthewkrueger commented 4 years ago

This PR has the fix. It's not merged in to the project yet, but he has instructions in the PR to include his forked library via Jitpack so you can get your apps working again.

https://github.com/ArthurHub/Android-Image-Cropper/pull/736

Canato commented 3 years ago

please check this

Canato commented 3 years ago

Hey!

I start a new project to handover this library https://github.com/CanHub/Android-Image-Cropper

The ideia is that we keep improving because this project don’t have updates since 2018 Hope I can count with your help.

Open to contribute, next pieces of work will be Android 11 permissions, refactor into Kotlin and ActivityContract