Aley
Aley

Reputation: 8640

How to open an external URL in Ionic 2 InAppBrowser?

I use the following Ionic 2 Dropbox code: ionic2-dropbox and I've also tried this tutorial: Integrating Ionic 2 with the Dropbox API both are opening an external browser instead of an actual in-app-browser (_blank) as described here cordova-plugin-inappbrowser. I tried with Nexus 5 and Samsung S4 mini. Both devices open an external browser. Any idea what might be wrong?

Upvotes: 0

Views: 2119

Answers (1)

Luis U.
Luis U.

Reputation: 2500

If you want to open the page in the internal in-app-browser you need to use the parameter _self instead of _blank.

Hope that helps!

Upvotes: 2

Related Questions