user1346185
user1346185

Reputation:

PhoneGap: how skip inAppBrowser to open an url with Safari

I have a Phonegap app on iOS and I use the InAppBrowser plugin to navigate some url. Now in a specific case, I need to open full safari browser, but the plugin of course open the embedded one. Anyone knows how to let an app to open either the embedded browser or the "full" Safari?

Thanks in advance

-Claudio

Upvotes: 1

Views: 898

Answers (1)

Amit Prajapati
Amit Prajapati

Reputation: 14305

Try this:::

            $('#btnVetResources').click(function( event ) {

                var myURL = encodeURI('https://www.google.co.in');
                window.open(myURL, '_system');
            });

Upvotes: 3

Related Questions