CanHub / Android-Image-Cropper

Image Cropping Library for Android, optimised for Camera / Gallery.
Apache License 2.0
1.25k stars 259 forks source link

[BUG] - Cannot find getActivityResult() while migrating from ArthurHub to CanHub #316

Closed DroidBus closed 2 years ago

DroidBus commented 2 years ago

CropImage.ActivityResult result = CropImage.getActivityResult(data);

Calling above code which is working fine with arthur image cropper lib. So, what I mean is getActivityResult() not available in CropImage class.

Canato commented 2 years ago

Hey @shweta30sharma I told you to please follow the template ^^

Can you please follow the template we have for issues? 🙏 There are many points on the template and will help me to help you.

I will close 🔴 this issue so you can reopen following the template,

Is important to remember that my work here is volunteer and to save time and have better answer help me that people use the templates.

Thanks!! 🎉

Canato commented 2 years ago

Plus on our guide you can read

With one of the latest release we change how we return values from the library call. lease check our samples folder (we have one in Java that the community built) so you can use the Activity Contracts. If you don't wanna do this now, you can use the latest version with the deprecated methods https://github.com/CanHub/Android-Image-Cropper/releases/tag/3.3.6

Everything on the guide ^^