After upgrading to Android 15, whenever an SMS OTP message is received, kdeconnect shows "Sensitive notification content hidden". This is caused by an undocumented new feature where the Android application requires a new permission, RECEIVE_SENSITIVE_NOTIFICATIONS. https://www.reddit.com/r/androiddev/comments/1g7tdld/android_15_breaks_notification_listeners/ SUMMARY STEPS TO REPRODUCE 1. Install KDE Connect on an Android 15 device (or upgrade an existing device with KDE Connect to Android 15). 2. Receive an SMS OTP message. OBSERVED RESULT KDE Connect on connected devices shows "Sensitive notification content hidden". EXPECTED RESULT KDE Connect on connected devices shows the actual message. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kernel 6.11.4, KDE Plasma 6.2.1 KDE Plasma Version: 6.2.1 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0
A workaround for now is to manually run this adb command: adb shell cmd appops set --user 0 org.kde.kdeconnect_tp RECEIVE_SENSITIVE_NOTIFICATIONS allow
A possibly relevant merge request was started @ https://invent.kde.org/network/kdeconnect-android/-/merge_requests/492
Thanks for reporting this. Given the sensitivity level Android has assigned this permission, I don't think we will be able to use this permission. We can give it a try. You should still be able to access the OTP using the KDE Connect SMS app, since that does not use the notifications path.
It might be worth adding the workaround command to the documentation. (Also note that a device reboot might be needed after running the command.)
Updated documentation: https://userbase.kde.org/KDEConnect#Sensitive_Notification_Content_(Android_15+)
(In reply to Simon Redman from comment #5) > Updated documentation: > https://userbase.kde.org/ > KDEConnect#Sensitive_Notification_Content_(Android_15+) Part of the added content is this subsection: Disable Enhanced Notifications In the notification settings, disable "Enhanced notifications" which will remove this restriction. ...But that's it, full stop. It seems like a discussion of the consequences/tradeoffs of doing that would be warranted — I assume there must be SOME, removing the sensitive-notifications restriction can't be the only effect it has?
(In reply to FeRD (Frank Dana) from comment #6) > Disable Enhanced Notifications > > It seems like a discussion of the > consequences/tradeoffs of doing that would be warranted — I assume there > must be SOME, removing the sensitive-notifications restriction can't be the > only effect it has? Addressing my own concern, it appears from this Reddit conversation[1] that disabling Enhanced Notifications (which is a Messages app setting, turns out — I thought it was systemwide) will turn off all smart replies, response suggestions, notification reply actions, etc. So, it's pretty drastic. [1]: https://www.reddit.com/r/GooglePixel/comments/1gls85v/enhanced_notifications_keep_turning_on_after/
*** Bug 497676 has been marked as a duplicate of this bug. ***
*** Bug 498862 has been marked as a duplicate of this bug. ***