iOS
iOS copied to clipboard
Images can't close when opening from mobile ios app notifications
iOS device model, version and app version Model Name: iPhone 11 Pro Software Version: 14.7.1 App version: 2021.8
Home Assistant Core Version 2021.8.4
Describe the bug Not sure if this is recent. When receiving a notification with action buttons The url in te action is a jpg image hosted in HA. The image will open in the HA ios app. not in safari or chrome Then the image can not close. there is no close button. Even when closing the app the image starts again. to go back to te frontpage, close app, restart app, settings -> remember last page -> off. close app, restart app.
To Reproduce for example: https://community.home-assistant.io/t/frigate-mobile-app-notifications/311091 notifications with image links from this blueprint.
Expected behavior -option to close the image. like when opening a mp4 video link. -or a back button
Screenshots
Additional context
This is not new, but it is also unintended use of the url parameter to open non-frontend pages, since frontend pages have navigation UI. Will need to decide how to handle this.
I was stuck in this for awhile, and actually came to open the same issue. If someone finds himself unable to navigate away from said image (even after force quitting HA app), you can send a notification such as this:
service: notify.mobile_app_iphone
data:
data:
url: https://HA-SERVER:8123/lovelace
message: msg
Tap that, and lovelace will load back up.
Ran into this yesterday while integrating notifications from Frigate into the companion app. Using the camera entities for grabbing a snapshot or stream is useless because of the delayed cameras in hass (~ 10 sec). Using Frigate clips and snapshots works awesome and real time, but I also have this issue. Had to turn off remember last page and force kill on iOS to get out of this loop.
Thanks, @UltraSub
The issue is still actual 🙄
Can confirm, having this issue with Frigate notifications as well. Once you open a snapshot or stream from the notifications in Frigate, you get locked into that snapshot/stream indefinitely. Closing it on iOS just brings back the snapshot/stream, and the only way to exit out is to reset the HA app.
Please try out the latest TestFlight beta which should resolve this issue.
Latest TestFlight build didn’t fix it for me—even after updating, I open the app, and still have the old static screenshot of my front door. I will try fully resetting the HA app, re-trigger a notification, and see if the issue persists.
Looks like the update did fix it. (But it requires resetting the HA app if you’re stuck on an image like I was).