home-assistant / iOS

:iphone: Home Assistant for Apple platforms
https://companion.home-assistant.io
Other
1.55k stars 302 forks source link

Back button not functioning in HACS integrations #2322

Open alsoszaa opened 1 year ago

alsoszaa commented 1 year ago

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 commented 1 year ago

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.

Boardron commented 1 year ago

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?_

dmelliott20 commented 1 year ago

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

FelisucoVFR commented 9 months ago

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

markwoitaszek commented 7 months ago

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.

pgale commented 7 months ago

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?

segdy commented 1 month ago

I am just facing the same issue, over a year later.

i also tried reset front end cache without success

pgale commented 1 month ago

I still see this occasionally too.