Skip to content

Outdated Glide dependency causing Gradle lint to throw error #3950

Open
@ArcherEmiya05

Description

@ArcherEmiya05

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs in the code in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:

  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general Firebase discussion, use the firebase-talk
    google group.
  • For help troubleshooting your application that does not fall under one
    of the above categories, reach out to the personalized
    Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: Electric Eel
  • Firebase Component: In-App Messaging
  • Component version: 20.1.2

[REQUIRED] Step 3:

Running ./gradlew lint is failing due to outdated Glide version

> Task :app:libs:AndroidFirebase:lintDebug FAILED
C:\Users\user\.gradle\caches\transforms-3\b8c366a3553feb6b317d2c08d3b5866e\transformed\jetified-glide-4.11.0\jars\classes.jar: Error: When targeting Android 13 or higher, posting a pe
rmission requires holding the POST_NOTIFICATIONS permission (usage from com.bumptech.glide.request.target.NotificationTarget) [NotificationPermission]

   Explanation for issues of type "NotificationPermission":
   When targeting Android 13 and higher, posting permissions requires holding
   the runtime permission android.permission.POST_NOTIFICATIONS.

1 errors, 0 warnings

Steps to reproduce:

Add the dependency on your project
api 'com.google.firebase:firebase-inappmessaging-display-ktx:20.1.2'

Relevant Code:

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions