Does anyone know how to open a URL via JS? I have tried window.open() which works in the Preview and on Android but not iOS.
I've struggled with this too. One workaround I've found, which relies on a confirmation popup:
--Clay
Yeah that's what I arrived at as a workaround. The bit of internet research i did seems to point to a "feature" in Safari on iOS that does not allow a window.open action unless it originates from a click. So where Android/Chrome and IE will allow JS to invoke window.open directly Safari will not.
window.location = "myURL" solves the issue on iOS. It opens a new browser tab in Safari.