Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint error for SDK 34 with SelectedPhotoAccess #476

Open
ede-wolf-gls opened this issue Mar 4, 2024 · 2 comments
Open

Lint error for SDK 34 with SelectedPhotoAccess #476

ede-wolf-gls opened this issue Mar 4, 2024 · 2 comments

Comments

@ede-wolf-gls
Copy link

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

-

@IslamMohamady
Copy link
Contributor

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

@ZOlbrys
Copy link

ZOlbrys commented Apr 29, 2024

This is the same issue as #470 as far as I can tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants