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

CropImageView.CropResult getUri() returns null on Android 10 devices #781

Open
zokica8 opened this issue Aug 28, 2020 · 7 comments
Open

Comments

@zokica8
Copy link

zokica8 commented Aug 28, 2020

Why is the method getUri() from CropResult in setOnCropImageCompleteListener returning null on Android 10 devices, but on earlier versions (android 9 and earlier) I get the uri from the cropper?

@adfwhitestar
Copy link

I have the same issue on Android 11. ( I know it is beta still )But, it looks like the image is always 0 kb when it takes the pic with the camera.

@karelkryda
Copy link

Výstřižek

It works perfectly fine. I process further as follows.

Výstřižek2

@behelit
Copy link

behelit commented Sep 8, 2020

Isn't this just handling the error? Not sure how that helps.
It's most likely due to storage access changes.
There's a pull request moving storage to a fileprovider instead.

@augusWuDotan
Copy link

you can see #620 , #516 .
maybe you have same question

@donhill
Copy link

donhill commented Sep 13, 2020

I am not sure if this is the same issue but the cropping works on other version. It seems there is an issue when using the camera. The image never gets past back to the cropping activity. Secondly since there is no image and crop outline I have to hit back to exit cropping feature.
Failed to create image decoder with message 'unimplemented

@Canato
Copy link

Canato commented Nov 16, 2020

please check this

@Canato
Copy link

Canato commented Nov 27, 2020

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

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

7 participants