Redirect to External Link

Asked

Viewed 1,418 times

1

Good afternoon.

When I open an external page from a link in my Ionic application, it is rendered in the common browser or in the application’s own webview?

If it is rendered in the webview itself, how could I make it open the browser or something like that?

2 answers

2

To open in the browser you can use the plugin inappbrowser. This link has some references of how to use. You can do this way:

<a href="#" onclick="window.open('http://www.site.com', '_system');">www.site.com</a>

0

If you don’t have the plugin inAppBrowser installed, the external page opens in the app’s own webview.

inAppBrowser replaces windows open and you can choose to open in another webview (_Blank) or system browser (_system)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.