Instabug / Instabug-Android

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

Lint warnings in AGP 8.3.0 #470

Open ZOlbrys opened 5 months ago

ZOlbrys commented 5 months ago

Steps to Reproduce the Problem

  1. Add Instabug to App
  2. Run lint command, i.e. gradlew lintDebug

Expected Behavior

No lint warnings are reported

Actual Behavior

2 lint warnings are reported, both of the same type:

Correctness SelectedPhotoAccess Normal
Behavior change when requesting photo library access Your app is currently not handling Selected Photos Access introduced in Android 14+ 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.

found at ../../../.gradle/caches/transforms-3/99bc51d941512f3ed96e040d2d64b529/transformed/instabug-core-12.7.1 AndroidManifest.xml

lines 13 and 14

Screenshot 2024-02-17 at 00 11 35

Instabug integration code

implementation(libs.instabug)
...
instabug = { module = "com.instabug.library:instabug", version.ref = "instabug" }

SDK Version

12.7.1

Android Version

This started showing up in AGP 8.3.0 as far as I can tell.

Device Model

N/A

[Optional] Project That Reproduces the Issue

N/A

Bashayer-reda commented 5 months ago

Hello, @ZOlbrys Thank you so much for reaching out and reporting this issue. We want to inform you that we are working on this.

ZOlbrys commented 4 months ago

I updated my comment with more descriptive information - apologies if it was a bit ambiguous to start.

ZOlbrys commented 4 months ago

AGP 8.3.0 is now released and this issue is preventing my team from upgrading to it (since we have lint warning limits imposed). Any updates on this?