hotwired / turbo-android

Android framework for making Turbo native apps
MIT License
424 stars 50 forks source link

Suppress Glide lint error #263

Closed mbarta closed 1 year ago

mbarta commented 1 year ago

Latest Android gradle plugin introduced a new lint rule which fails for the demo app due to Glide providing a NotificationTarget:

When targeting Android 13 or higher, posting a permission 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.

More information: https://github.com/bumptech/glide/issues/4940

This PR adds a lint config for the demo module which suppresses it as we never post notifications from it.