Open URL with InAppBrowser

Hi.

I’m trying to create a simple POC for an app that opens an URL as soon as it is started (Android). Followed the docs at https://ionicframework.com/docs/native/in-app-browser to no avail.

Not sure how to proceed beyond this line:

import { InAppBrowser } from '@ionic-native/in-app-browser/'

I’m a noob :pray:

Are you using Cordova or Capacitor? Because Capacitor has its own built-in Browser plugin.

To be honest, I still don’t understand the difference. I’m a hobbyist web dev (mostly PHP) and did take the time to go through the docs. I found an example and followed it.

Will try Capacitor as you suggested. Thanks!