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

Lint warnings in AGP 8.3.0

Open ZOlbrys opened this issue 1 year ago • 9 comments

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

ZOlbrys avatar Jan 17 '24 03:01 ZOlbrys

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

Bashayer-reda avatar Jan 23 '24 09:01 Bashayer-reda

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

ZOlbrys avatar Feb 17 '24 05:02 ZOlbrys

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?

ZOlbrys avatar Mar 01 '24 15:03 ZOlbrys

Any update on this? I'd love to be able to get back to no lint warnings!

ZOlbrys avatar Jul 05 '24 15:07 ZOlbrys

Updates on this?

marcorighini avatar Aug 29 '24 10:08 marcorighini