You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "samall76 (via GitHub)" <gi...@apache.org> on 2023/08/09 18:38:14 UTC
[GitHub] [cordova-plugin-inappbrowser] samall76 opened a new issue, #1012: How to open system browser from link in the inappbrowser
samall76 opened a new issue, #1012:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1012
I use cordova and the inappbrowser to open a webapplication. In the webapplication I want external links open in the system browser. So the question is how can I open a link from the inappbrowser to the sytem webbrowser.
What I have tried is to run somehting like this in the local cordova index.html. Then a system browser is opened, worked fine. But what I need is to open the system browser while clicking a link in the inappbrowser. What happens is that the links loads over the page in the inappbrowser instead of opening the system browser.
var targetUrl = "https://www.example.com";
var inAppBrowserRef = cordova.InAppBrowser.open(targetUrl, '_system', 'location=yes,hidden=yes,usewkwebview=yes');
I'm using iOS.
Can someone give me some pointers how to address this?
--
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.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org