mosabab commented on issue #390:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/390#issuecomment-635794599


   @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');`
   


----------------------------------------------------------------
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]

Reply via email to