OnBackInvokedCallback is not enabled for the application in Set ‘android:enableOnBackInvokedCallback=”true”‘ in the application manifest as warning

This is because of the Android Gesture Navigation, reference link here To help make predictive back gesture helpful and consistent for users, we’re moving to an ahead-of-time model for back event handling by adding new APIs and deprecating existing APIs. The new platform APIs and updates to AndroidX Activity 1.6+ are designed to make your … Read more

Android 13 – How to request WRITE_EXTERNAL_STORAGE

TLDR: You don’t. From Google’s official documentation: “If your app targets Android 11, both the WRITE_EXTERNAL_STORAGE permission and the WRITE_MEDIA_STORAGE privileged permission no longer provide any additional access.” So in effect, if you were to request WRITE_EXTERNAL_STORAGE on Android 11 or later, you would be requesting nothing. This is the whole point of Android’s migration … Read more

Android 13 – READ_EXTERNAL_STORAGE_PERMISSION still usable

According to documentation (https://developer.android.com/training/data-storage/shared/media#storage-permission): No permissions needed if you only access your own media files On devices that run Android 10 or higher, you don’t need any storage-related permissions to access and modify media files that your app owns, including files in the Media Store. Downloads collection. If you’re developing a camera app, for example, … Read more