ArthurHub / Android-Image-Cropper

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

Camera Issues (Android 11 and 12) #885

Open rajeshvexil opened 2 years ago

rajeshvexil commented 2 years ago

This is not working on latest device like android 11 and 12.

Canato commented 2 years ago

please read https://github.com/ArthurHub/Android-Image-Cropper/issues/875

And update to the new repository

Please close this issue. So the Warning can be more visible

rajeshvexil commented 2 years ago

Please send me simple code of java

On Fri, Jul 29, 2022 at 4:54 PM Canato @.***> wrote:

please read #875 https://github.com/ArthurHub/Android-Image-Cropper/issues/875

And update to the new repository

Please close this issue. So the Warning can be more visible

— Reply to this email directly, view it on GitHub https://github.com/ArthurHub/Android-Image-Cropper/issues/885#issuecomment-1199167202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY4C4GXX6EJJVGXGV55FPSLVWO5PBANCNFSM54SFXMZA . You are receiving this because you authored the thread.Message ID: @.***>

-- Best Regards

Rajesh Prajapati (Android Developer) Vexil Infotech Pvt Ltd Lucknow - 226016

ravichandra8 commented 2 years ago

In android 11 and android 12 device after capture resultCode is 0 that means activity.RESULT_CANCELED. but expected resultCode is -1 that means activity.RESULT_OK

protected void onActivityResult(int requestCode, int resultCode, Intent result) {

    super.onActivityResult(requestCode, resultCode, result);
    if (requestCode == CropImage.PICK_IMAGE_CHOOSER_REQUEST_CODE && resultCode == Activity.RESULT_OK) {
uzzal-mondal commented 1 year ago

really it's not working for 11 & 12 android version, please see the another crop image.

Canato commented 1 year ago

@uzzalcontact

please read https://github.com/ArthurHub/Android-Image-Cropper/issues/875

And update to the new repository

Please close this issue. So the Warning can be more visible

uzzal-mondal commented 1 year ago

please help me which library is better to camera with gallery image pic. and supported to android 11 & 12 version

Message ID: @.*** com>