Actionable notification URI lovelace redirect not working if app is open
See original GitHub issueHome Assistant Android version: 3.0.2-full
Android version: 10QKQ1.190825.002
Phone model: Mi 9T Pro
Home Assistant version: 2021.1.1
Last working Home Assistant release (if known):
Description of problem:
Actionable Notification URI clickAction
not working if application is already open. If the app is not open in the background the clickAction: /lovelace/systems
works as expected, If the app is open in the background it opens the app but does not navigate to the view.
The video first shows the app closed, not in the background I click the notification and takes me to the correct lovelace location, then I change the page, move away from the app leaving it in the background and press another notification which is identical to the previous one, and It opens the app but does not navigate to the correct location.
The data the service was called with:
title: "ClickAction Test"
message: "This notification clickAction:/lovelace/systems"
data:
clickAction: "/lovelace/systems"
Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):
Screenshot of problem:
Additional information: Seems like the issue has been reported multiple times, but has been hard to reproduce? https://github.com/home-assistant/android/issues/467 https://github.com/home-assistant/android/issues/486
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Right. Fixed.
I have followed this instructions and tested around 20 times and It’s working without any issue, thank you @dshokouhi for your help. And for your great work. I’ll now close this issue.