05.08.2022, 14:28
I spoke too soon - we've encountered an issue with linking to touch plans from a from scada-vis plans.
On our iPhones we add the URL <ip-address>/scada-vis/#PlanID to the home screen of our device using iOS native 'Add to Home Screen' share action.
When accessing the LogicMachine web app via this link, any external links exits full screen mode and opens in a new tab (with a done button, page URL etc at the top of the iPhone screen and the next and previous arrows at the bottom of the screen which completely destroys the cohesive UI we were trying to create.
Is there a JS workaround to open to force the 'external' links to /scada-vis/touch#9 to open internally in the web app.
I though the following might be a solution, but haven't been able to get this to work when added as a LogicMachine JS
https://gist.github.com/irae/1042167
Any further advice would be much appreciated.
Kind Regards
James
On our iPhones we add the URL <ip-address>/scada-vis/#PlanID to the home screen of our device using iOS native 'Add to Home Screen' share action.
When accessing the LogicMachine web app via this link, any external links exits full screen mode and opens in a new tab (with a done button, page URL etc at the top of the iPhone screen and the next and previous arrows at the bottom of the screen which completely destroys the cohesive UI we were trying to create.
Is there a JS workaround to open to force the 'external' links to /scada-vis/touch#9 to open internally in the web app.
I though the following might be a solution, but haven't been able to get this to work when added as a LogicMachine JS
https://gist.github.com/irae/1042167
Any further advice would be much appreciated.
Kind Regards
James