DigitalDisaster
DigitalDisaster

Reputation: 517

Possible to load a web page in Ionic or Cordova?

I have a website that has a mobile view. I'd like to create an android apk that simply just loads the website when you open the app.

Is this possible (and relatively easy) utilizing Ionic or Cordova?

Upvotes: 1

Views: 7366

Answers (2)

Marko
Marko

Reputation: 957

Or, you can use inappbrowser. It's a browser inside of your app. You can even customize it not to display adress bars etc

http://ngcordova.com/docs/plugins/inAppBrowser/

https://github.com/apache/cordova-plugin-inappbrowser

This is a nice example of usage

https://www.thepolyglotdeveloper.com/2014/07/launch-external-urls-ionicframework/

Upvotes: 4

Nikola
Nikola

Reputation: 15048

Yes, it's simple and straight forward. You can just put the link to your website inside an iframe and you're done. Take a look here for more info.

Upvotes: 2

Related Questions