Android SDK 33 has several new behaviors to support your application. One of them is related to permissions. The permission request that is quite noticeable is to read the media.
In previous releases, AndroidManifest.xml states 2 permissions which are READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE.
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
requestPermission(
Manifest.permission.READ_EXTERNAL_STORAGE,
Manifest.permission.WRITE_EXTERNAL_STORAGE,
onAllowed = {
//Your Allowed action
},
onDenied = {
//Your Denied action
}
)
For Android SDK 33, you have to add other permissions to compliment READ_EXTERNAL_STORAGE. The new permissions differentiate the media-types that you want to use.