Skip to content

Lint error: missing android.permission.POST_NOTIFICATIONS permission #449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
joost-klitsie opened this issue Feb 8, 2023 · 3 comments

Comments

@joost-klitsie
Copy link

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

@MohamedHefny
Copy link

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?

@joost-klitsie
Copy link
Author

@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.

@silarnab
Copy link

silarnab commented Sep 4, 2024

Hi @joost-klitsie, Is this something which is being looked at now as the targetSdk version is now 34?

If the fix is not being prioritized, does it make sense to suppress the lint error for now so that lint checks of client apps do not error out due to this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants