openhab-android icon indicating copy to clipboard operation
openhab-android copied to clipboard

Some notifications aren't dismissed when the action is clicked

Open mueller-ma opened this issue 1 year ago • 1 comments

Actual behaviour

Some notification actions aren't handled by NotificationHandlingReceiver where the notification would be dismissed.

The cannot be handled there, because starting an intent from the broadcast receiver isn't allowed on some Android versions. When the intent goes directly to the primary browser, I don't see a way to get a callback when the action button is pressed.

Expected behaviour

All notifications are dismissed when the action is used.

mueller-ma avatar Jul 23 '24 17:07 mueller-ma

When the intent goes directly to the primary browser, I don't see a way to get a callback when the action button is pressed.

The only workaround that I can see would be w transparent proxy activity.

maniac103 avatar Jul 23 '24 17:07 maniac103