Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update styling for clarity

...

Starting with Mobile Client version 2.8.4, hyperlinks are handled differently than before, due to a change in the Cordova InAppBrowser plugin. In the past, the plugin redefined `windowwindow.open` open to `cordovacordova.InAppBrowser.open`open, so that links would pass through the plugin. This no longer occurs, which means that calls to `windowwindow.open` open truly go to `windowwindow.open`open, and window targets of `_blank` blank or `_system` system have no effect. The result is that hyperlinks coded as `windowwindow.open(url, ...)` will now open inside the mobile client window itself, with no way to return to the previous screen. To resolve this, use ` cordova.InAppBrowser.open` open instead of `windowwindow.open`open. `cordovacordova.InAppBrowser.open(url, '_blank')` will open the URL in a window inside the mobile client, with a Done button to close the window and return to your screen. `cordovacordova.InAppBrowser.open(url, '_system')` will leave your app and open the URL inside of the system browser (e.g., Safari). See https://github.com/apache/cordova-plugin-inappbrowser for more information.

...