mosabab commented on issue #390:
URL:
https://github.com/apache/cordova-plugin-inappbrowser/issues/390#issuecomment-640017799
> @consciouscoder @arielnmagno
>
> Please use the latest version of this plugin or the master version.
>
> As the documentation for this plugin:
>
> target: The target in which to load the URL, an optional parameter that
defaults to _self. (String)
>
> _self: Opens in the Cordova WebView if the URL is in the white list,
otherwise it opens in the InAppBrowser.
> _blank: Opens in the InAppBrowser.
> _system: Opens in the system's web browser.
>
> So,
>
> * If you want to open the link in inapapbrowser plugin you should use
_blank.
>
> Example:
> `var ref = cordova.InAppBrowser.open('http://apache.org', '_blank',
'location=yes');`
>
> * if you want to open the link in mobile device web browsers you should
use _system
>
> Example:
> `var ref = cordova.InAppBrowser.open('http://apache.org', '_system',
'location=yes');`
Additional inofrmation:
(NOTE: wkwebview has been integrated to the plugin it self, there is no need
to use 'wkwebview=yes' any more.)
So if you used : `wkwebview=yes` in the options, please remove it, and also
there is no need for the `cordova-plugin-wkwebview-engine` because it is
already integrated to the cordova-ios.
Regards
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]