Skip to content

Picker no longer includes Photo app on Android 10 #721

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

Open
duncancarroll opened this issue Oct 25, 2019 · 20 comments
Open

Picker no longer includes Photo app on Android 10 #721

duncancarroll opened this issue Oct 25, 2019 · 20 comments

Comments

@duncancarroll
Copy link

The code below works with SDK < 29, but on Android 10 phones, even when targeting SDK 28, it will no longer show the Photo app, instead only showing Camera and generic File handling applications.

This is on a Pixel 3, but you should be able to repro on any Android 10 device with the following code:

CropImage.activity()
            .setGuidelines(CropImageView.Guidelines.OFF)
            .setFixAspectRatio(true)
            .setCropShape(CropImageView.CropShape.OVAL)
            .start(activity)
@ratheeshcn
Copy link

ratheeshcn commented Nov 6, 2019

@duncancarroll same issue is there on Oneplus7Pro

@shiv71
Copy link

shiv71 commented Nov 9, 2019

I have also facing this issue on pixel 3 XL device but on emuletor it's working fine.
Any solution

@MSalas95
Copy link

Not working on Android 10!

@ClouddJR
Copy link

Same issue here, any updates?

@luchfilip
Copy link

Maybe it was fixed, but I can see the photo app on android 10 api 29

@mat90c
Copy link

mat90c commented Dec 30, 2019

+1

@Nyariki
Copy link

Nyariki commented Feb 29, 2020

Any update on this?

@junaediwidjojo
Copy link

+1

4 similar comments
@leocorder
Copy link

+1

@troubleshoooter
Copy link

+1

@abdirahman108
Copy link

+1

@ahmedshaban1
Copy link

+1

@filipnbc
Copy link

whoever encounters this issue please add more details so someone can replicate and hopefully fix it. I wasn't able to replicate.

@abhilashmaddukuriFresnoState

I am facing the same issue with every Android 10 device. Crop intent is not visible through the app. Did anyone get a solution or found a workaround for this?

@filipnbc
Copy link

@abhilashmaddukuriFresnoState can you post some logs? or maybe you can debug and see where does it stop

@brjichkar
Copy link

me too facing the issues on mi A3 and motorola one power, tried solution of android:requestLegacyExternalStorage="true" but it does not work.
Has anyone able to resolve it?

@brjichkar
Copy link

@abhilashmaddukuriFresnoState can you post some logs? or maybe you can debug and see where does it stop
there is nothing in log related to Crop project.

@brjichkar
Copy link

brjichkar commented May 20, 2020

whoever encounters this issue please add more details so someone can replicate and hopefully fix it. I wasn't able to replicate.
My Mi A3 device got updated to android 10, In android 10 , when I run my app, Photos option is not displaying but for android 9 and below , I am able to see Photos option. In Android 10 emulator though I am able to see gallery option, but on real device with OS 10, such as Mi A3 and motorola one power there is not option of gallery/photos.
Only Option are 1. Camera 2. File Explorer.
@filip Luchianenco maybe this can help ? https://medium.com/@pednekarshashank33/android-10s-scoped-storage-image-picker-gallery-camera-d3dcca427bbf

@matthewkrueger
Copy link

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.

#736

@Canato
Copy link

Canato commented Nov 16, 2020

please check this

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