luffy
luffy

Reputation: 41

Ionic - how to open URL in system browser

How can I open URL in an ionic application?

Upvotes: 1

Views: 2142

Answers (2)

Pavel Chuchuva
Pavel Chuchuva

Reputation: 22475

No need to install In App Browser plugin. Simply do

window.open(url, '_system');

Upvotes: 1

Gururaj Bhandarkar
Gururaj Bhandarkar

Reputation: 292

You have to install

cordova plugin add inappbrowser

then you can use

window.open(URL,'_system','location=yes'),!1;

which will open the URL in system browser

Upvotes: 0

Related Questions