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

Lint error: missing android.permission.POST_NOTIFICATIONS permission

Open joost-klitsie opened this issue 3 years ago • 3 comments

Steps to Reproduce the Problem

Include Instabug 11.8.0 dependency run a lint check

Expected Behavior

Lint check runs just fine

Actual Behavior

Lint check returns error: Error: When targeting Android 13 or higher, posting a permission requires holding the POST_NOTIFICATIONS permission (usage from com.instabug.chat.notification.t) [NotificationPermission]

SDK Version

11.8.0

Android Version

target sdk 33

joost-klitsie avatar Feb 08 '23 13:02 joost-klitsie

Hi @joost-klitsie Thank you for reporting this issue, we are working on updating this part of our SDK to fix this one very soon. Until now if you are using a custom lint configurations can you please share it with us?

MohamedHefny avatar Feb 10 '23 17:02 MohamedHefny

@MohamedHefny we don't use custom lint rules (only some suppressions that are unrelated). This is the "out of the box" Android lint check. For example, running the gradle command lintDebug on the android project.

joost-klitsie avatar Feb 11 '23 10:02 joost-klitsie