The ‘on error’ block just means that if the link can’t be opened (maybe because the user isn’t connected to the internet), to do whatever action is in that block. You could use to to display a message like “Can’t open this link! Please check your connection and try again.”
Ok. I need to open a link (href or window.open) in a external browser from within a webviewer.
It works fine on Android, but on iOS, link is opened inside the webviewer.
I have tried href and window.open with target blank and system.