When I was updating an Android app I was asked in the store to use the Photo Picker instead of using <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>. But you could still opt-in for the image permission, so not a high priority for now.
I have to call ActivityResultLauncher in the BaseActivity otherwise I wasn't able to catch the results. And in order to get the results from the BaseActivity back to MediaModule I use a local Broadcast. Not sure if that is the best way to do it but I didn't find another way.
Will replace the current openPhotoGallery method and use https://developer.android.com/training/data-storage/shared/photopicker
When I was updating an Android app I was asked in the store to use the Photo Picker instead of using
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
. But you could still opt-in for the image permission, so not a high priority for now.I have to call
ActivityResultLauncher
in the BaseActivity otherwise I wasn't able to catch the results. And in order to get the results from the BaseActivity back to MediaModule I use a local Broadcast. Not sure if that is the best way to do it but I didn't find another way.