Bug P3
Status Update
Comments
tw...@google.com <tw...@google.com> #2
Issue with notification access code in core. Unclear where, but probably safe to assume NotificationCompat
.
kg...@google.com <kg...@google.com> #3
Note that this is a lint error and can be suppressed or lowered to warning-level on the client side. Lowering back to P2
.
kg...@google.com <kg...@google.com> #4
To find cause of issue, update
androidx/platform/frameworks/support/+/androidx-main:buildSrc/public/src/main/kotlin/androidx/build/SupportConfig.kt;l=50 to 33 and then run ./gradlew :core:core:lintDebug
androidx/platform/frameworks/support/+/androidx-main:buildSrc/public/src/main/kotlin/androidx/build/SupportConfig.kt;l=50 to 33 and then run ./gradlew :core:core:lintDebug
mo...@plaid.com <mo...@plaid.com> #5
It's at
frameworks/support/core/core/src/main/java/androidx/core/app/NotificationManagerCompat.java:223: Error: When targeting Android 13 or higher, posting a permission requires holding the POST_NOTIFICATIONS permission [NotificationPermission]
mNotificationManager.notify(tag, id, notification);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "NotificationPermission":
When targeting Android 13 and higher, posting permissions requires holding
the runtime permission android.permission.POST_NOTIFICATIONS.
kg...@google.com <kg...@google.com> #6
Handling this as part of
Description
Thanks,
Melissa
Component used: androidx.browser:browser
Version used: 1.7.0
Devices/Android versions reproduced on:Pixel 7, Android 14
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue -
- A screenrecord or screenshots showing the issue (if UI related) -
screen-20240206-121202.mp4 -