iOS icon indicating copy to clipboard operation
iOS copied to clipboard

Back button not functioning in HACS integrations

Open alsoszaa opened this issue 1 year ago • 8 comments

iOS device model, version and app version

Model Name: iPhone 14 pro max Software Version: iOS 16.3.1 (20D67) App version: not sure since I'm stuck (iOS app version)

Home Assistant Core Version

2023.3.4

Describe the bug

I have the latest iPhone App for home assistant, the latest home assistant version and the latest HACS version. But I went into one of the integrations in HACS to see if I was interested in installing it. The issue now is that the back button out of this integration doesn’t work. So now I am stuck in this page. Closing the app and reopening it takes me to the same HACS integration page and I’m still stuck. This is definitely a bug, just not sure where to report it. All I can do now is uninstall the home assistant app from my phone and reinstall. But then do I need to do this each time I want to see details of a cool integration in HACS?

To Reproduce

Expected behavior

Screenshots

Additional context

alsoszaa avatar Mar 18 '23 01:03 alsoszaa

Specifically this is the SpaceX integration I was looking at and am now stuck. Swiping left or right was the advice in the home assistant discord app, but this did nothing.

alsoszaa avatar Mar 18 '23 01:03 alsoszaa

Update: this MAY be a different issue... So on second thought I will report a new issue for this.

Experience the same issue but I have some further insights:

Insight It seems that the app DOES store the last page visited, but it DOESN'T store the page history. It's my guess that since the back button (in subview) uses the history and there isn't one, the back button has nothing to do.

How to reproduce On iOs: go to a subdashboard (subview) that has the back button. Close the app. Really close it, not just background it. Re-open app: voila, you're stuck.

Workaround Go to "Edit Dahsboard" => "Manage Dashboard" and you're good to go again aka "unstuck".

Possible Solution Well IF the back button is activated AND the history is empty THEN goto the default dashboard for that user?_

boardron avatar Mar 19 '23 16:03 boardron

Yep I’ve managed to get stuck on a HACS integration page. Rebooting the phone doesn’t even work.

dmelliott20 avatar Apr 16 '23 19:04 dmelliott20

I had the same issue a few times with different integrations. iPhone 13 I need to reboot, close the app and forget it for a day or two to be able to access again

FelisucoVFR avatar Dec 26 '23 10:12 FelisucoVFR

I encountered the same problem and was able to devise a quick workaround. To resolve, close the application, then reopen. On load, you will notice the orange gear app settings icon momentarily appears in the lower right corner of the screen. If you act quickly, you can access the settings before the icon vanishes. Proceed to remove and re-add the server. This forces the configuration to reset and will then load the default dashboard.

markwoitaszek avatar Feb 13 '24 02:02 markwoitaszek

I've seen the same issue when browsing integrations (Sonos card and one other I can't remember). In my case, I had left the companion app for some time and when I came back, the back button wasn't working. Maybe there should also be a home button if possible - that would make sense anyway. I had to reinstall the app to get it back to the home screen.

Thanks to @markwoitaszek - that worked for me as a temp fix :)

Easy to reproduce - go into HACS, tap on an installed integration, close the app, open the app - opens the integration info screen and the back button is broken (probably no history as others have mentioned)

Is this a HACS issue or an iOS companion app issue? I've seen others report similar behaviour on the back button but in different screens (add-on) - they still seem to be open issues so not sure if anyone is looking at fixing this?

pgale avatar Feb 18 '24 14:02 pgale