Instabug-Android icon indicating copy to clipboard operation
Instabug-Android copied to clipboard

Lint error for SDK 34 with `SelectedPhotoAccess`

Open ede-wolf-gls opened this issue 11 months ago • 2 comments

Steps to Reproduce the Problem

  • upgrade com.android.tools.build:gradle to version 8.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

-

ede-wolf-gls avatar Mar 04 '24 09:03 ede-wolf-gls

Hi @ede-wolf-gls Thanks for reporting this. Please get in touch with our customer support at [email protected] to better assist you.

IslamMohamady avatar Mar 04 '24 10:03 IslamMohamady

This is the same issue as https://github.com/Instabug/Instabug-Android/issues/470 as far as I can tell.

ZOlbrys avatar Apr 29 '24 12:04 ZOlbrys