-
-
Notifications
You must be signed in to change notification settings - Fork 217
Description
Have you checked if an issue already exists for this bug?
- Nobody else has reported this bug before
Have you tried restarting your device?
- I have tried restarting my device and that did not help
What happened that you did not expect?
I've had the Dismiss All Notifications action working on my Samsung Tab S9 for a long time. When I updated Keymapper to the current release on Google Play, the action failed with a toast message "Denied notification access permission!" The Keymapper log says "Root access denied" when this happens.
There are no error messages reported in my keymap that uses the action, and Keymapper has Notification Access granted in the Android settings. My tablet is not rooted.
I tried rebooting and I tried switching to the beta program, but the problem remained. I then discovered that if I clear all data from the app and grant permissions again, the Dismiss All Notifications action will work for a brief period of time, then fail again with the same errors. The same thing happens if I uninstall and reinstall the app.
It seems to me that the app is losing notification access, even though Android still shows it enabled and the app doesn't detect that access has been denied. I've tried toggling Notification Access off and on again, but that doesn't fix the problem.
I trigger the action with a launcher shortcut, and there are no constraints.
Thanks for your great work!
What did you expect to happen?
I expect that Dismiss All Notifications will continue to work.
What would the developer need to do to reproduce the bug?
- Make a keymap that uses the Dismiss All Notifications action with no trigger or constraints.
- Check the "Allow other apps to control this key map with intents or shortcuts" option.
- Create a launcher shortcut.
- Test that the action works.
- Test the action again daily until it stops working (it took about 24 hours to fail the last time).
I'm still doing more tests, and will add to this report if I gain more details.
App version
4.0.0-beta (and also the current Google Play release, which I think was 3.7)
Android version
Android 16
Device model and manufacturer
Samsung Tab S9
Extra info
- My device is rooted