Instabug / Instabug-Android

In-app feedback and bug reporting tool for apps.
https://instabug.com/
Other
188 stars 41 forks source link

Lint error for SDK 34 with `SelectedPhotoAccess` #476

Open ede-wolf-gls opened 4 months ago

ede-wolf-gls commented 4 months ago

Steps to Reproduce the Problem

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

-

IslamMohamady commented 4 months ago

Hi @ede-wolf-gls Thanks for reporting this. Please get in touch with our customer support at contactus@instabug.com to better assist you.

ZOlbrys commented 2 months ago

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