Instabug-Android
Instabug-Android copied to clipboard
Lint error for SDK 34 with `SelectedPhotoAccess`
Steps to Reproduce the Problem
- upgrade
com.android.tools.build:gradle
to version8.3.0
- have compileSdk 34
- run lint
Expected Behavior
No lint error
Actual Behavior
Following errors:
/**/transformed/instabug-core-12.8.0/AndroidManifest.xml:13: Error: Your app is currently not handling Selected Photos Access introduced in Android 14+ [SelectedPhotoAccess]
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/**/transformed/instabug-core-12.8.0/AndroidManifest.xml:14: Error: Your app is currently not handling Selected Photos Access introduced in Android 14+ [SelectedPhotoAccess]
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "SelectedPhotoAccess":
Selected Photo Access is a new ability for users to share partial access to
their photo library when apps request access to their device storage on
Android 14+.
Instead of letting the system manage the selection lifecycle, we recommend
you adapt your app to handle partial access to the photo library.
https://developer.android.com/about/versions/14/changes/partial-photo-video-access
Instabug integration code
-
SDK Version
12.8.0
Android Version
compile sdk 34 target sdk 34
Device Model
-
[Optional] Project That Reproduces the Issue
-
Hi @ede-wolf-gls Thanks for reporting this. Please get in touch with our customer support at [email protected] to better assist you.
This is the same issue as https://github.com/Instabug/Instabug-Android/issues/470 as far as I can tell.