Hi BP, back to cause you more grief!
Strange one and it's almost definitely Apple being Apple....
This issue has only been discovered since experimenting with your latest build of UI3 with MQTT support (Which is really great!), but I don't believe the issue is new, just uncovered.
Essentially, I have an instance running on an iPad through "Kiosker" (Full Screen Web App) that runs UI3 within an iFrame (I know, but there is a reason
). The iPad logs into UI3 automatically using an anonymous user.
When logging in I get an error popup saying: "Attempted to access sessionManager before it was initialized" - has been like this for some time but it never mattered before. I assume it's loading up a fresh anonymous session each time UI3 is loaded. This is also means I am locked to using the anonymous user, otherwise I need to retype the log in details every time the page is loaded.
This also leads to the issue whereby my MQTT credentials are not saved between refreshes of the UI3 instance.
I first thought this was solely because I was running UI3 within an iFrame, which it partly is, however it is only an issue using Safari based browsers (Desktop & iOS). If I load the page through Chrome on another device, I receive no errors, and UI3 logs in automatically into the specified user account and also retains the MQTT credentials. In fact, this is how another desktop instance is configured.
Is this a fixable/workable issue or simply a limitation with Safari/WebKit based browsers in this specific scenario?
Thanks!