Yalantis / uCrop

Image Cropping Library for Android
https://yalantis.com/blog/introducing-ucrop-our-own-image-cropping-library-for-android/
11.85k stars 2.15k forks source link

startActivityForResult is now deprecated #867

Open RACA951106 opened 1 year ago

RACA951106 commented 1 year ago

This is the configuration of my project

defaultConfig { applicationId "com.example.myapplication" minSdk 28 targetSdk 32 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" }

it's not a bug, I just want to inform you that startActivityForResult is now deprecated and I think you should adapt the library to the new way of using this function.

lucaslamounier08 commented 1 year ago

You should use ActivityResultLauncher instead

jens-muenker commented 1 year ago

I guess nobody with write access updates this library anymore. (https://github.com/Yalantis/uCrop/pull/651#issuecomment-757772589)

I made a fork which is working well for Android 13. In addition to the small updates, I translated most of the code to kotlin and updated it.