Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iframe website settings lost when restarting the app #1289

Open
LeoCal opened this issue Nov 23, 2020 · 4 comments
Open

iframe website settings lost when restarting the app #1289

LeoCal opened this issue Nov 23, 2020 · 4 comments

Comments

@LeoCal
Copy link

LeoCal commented Nov 23, 2020

iOS device model, version and app version
Model Name: iPhone 6s
Software Version: 14.2
App version: 2020.7 (11)

Home Assistant Core Version
0.117.4

Describe the bug
iframe website settings lost when restarting the app.

To Reproduce

  1. Create a web view and add an iframe pointing to a website in need of preserving user settings (in my example I'm using a local installation of Mopidy server with HTTP extension)
  2. Change some settings that you'd like to be preserved by the website shown in the iframe
  3. Check that the new settings were successfully applied
  4. Close iOS HA app companion and open it again
  5. Access the view with the iframe and notice how the user settings were lost after app restart

Expected behavior
User settings in the iframe should be preserved (they need to be persisted in the companion app)

Screenshots
N/A

Additional context
Note that when using HA web UI in Safari, settings are correctly preserved after Safari restart

@zacwest
Copy link
Member

zacwest commented Dec 20, 2020

Can you try enabling 'cross-site tracking' in the Settings app's Home Assistant preferences? If that doesn't work, this is likely not the app stopping something but the webview behaving that way.

@LeoCal
Copy link
Author

LeoCal commented Dec 20, 2020 via email

@zacwest
Copy link
Member

zacwest commented Dec 20, 2020

Not in the HA app, in the system Settings app under Home Assistant. Looks like this:
IMG_811D04186A2C-1

@LeoCal
Copy link
Author

LeoCal commented Dec 20, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants