I'm targeting my app to support 30 (R). I've notice that some apps are missing to choose when calling this:
baseActivity.startActivity(Intent(MediaStore.ACTION_IMAGE_CAPTURE))
When targeting to 29, this code shows several apps to choose before taking the picture:
After targeting to 30, the camera app is being opened directly (no option to choose).
I looked in the android 11 changes but didn't see anything special. Is there anything that needs to be change in my side?
Thanks for reading/helping
Once your targetSdkVersion
reaches 30, ACTION_IMAGE_CAPTURE
will only display pre-installed camera apps, not user-installed apps.