uCrop
uCrop copied to clipboard
startActivityResult() is deprecated.
You are using startActivityForResult() for perform crop but now it is deprecated. Can you update it with new Activity Results API.
Same Issues>>>
Hi, I was struggling with the same issue and I think the Ucrop project isn't being supported anymore (I really hope I'm wrong). Until the next update you can use the "getIntent()" method as I did:
Intent ucropIntent = UCrop.of(sourceUri, destinationUri) .withOptions(cropOptions).getIntent(this); ucropActivityResultLauncher.launch(ucropIntent);
Hope it helps :). Ron.
@IRonMaxTech not all heroes wear capes indeed. Thank you sir!
I have provided complete code with request and its usage, Happy coding.
https://github.com/Yalantis/uCrop/issues/765#issuecomment-896586649