Open SaurabhGaddelpalliwar opened 4 years ago
Sounds related to this unsolved issue https://github.com/ArthurHub/Android-Image-Cropper/issues/721
@SaurabhGaddelpalliwar Did you find any solution ?
try adding android:requestLegacyExternalStorage="true"
in your manifest file. that fixed for me, was happening because of new scoped storage introduced in android 10.
try adding
android:requestLegacyExternalStorage="true"
in your manifest file. that fixed for me, was happening because of new scoped storage introduced in android 10.
It did not work for me. Still facing the issues on mi A3 and motorola one power
I found a solution to this issue. Try adding this line: Uri imageuri = data.getData();
Add above line in onActivityResult() method and pass imageuri as an argument:
CropImage.activity(imageuri) .setGuidelines(CropImageView.Guidelines.ON) .setAspectRatio(1, 1) .start(this);
@InLearningPhase Which device did you test this with? For me resultCode is always RESULT_CANCLED
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
when i capturing the image from camera this cropper in not working in Android 10 and not getting any error . please help me for this type of issue. Please give the update for Android 10