Isn’t it just as simple as doing the following:
import { InAppBrowser } from 'ionic-native';
...
let browser = new InAppBrowser(url, "_blank");
Tried with _self
too. Here it says to add some things in your config.xml, I tried that too but also with no luck, it just keeps opening in the system browser
What’s the trick to make it actually open in the app?
ionic info
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 0.0.48
ios-deploy version: 1.9.0
ios-sim version: 5.0.12
OS: macOS Sierra
Node Version: v7.2.0
Xcode version: Xcode 8.2.1 Build version 8C1002