Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49526

Web page and mobile app using the same code

$
0
0

@loki9182 wrote:

I’m curious to know if anyone has had experience building a web page and mobile app using the same code base. By this I mean building an adaptive UI where you can compile it as an Android/iOS App but also able to build is as a web page. What approach and method did you use? Any recommendations?

I’ve read the following page: https://ionicframework.com/docs/developer-resources/desktop-support/ and understand that you can enable/disable calls to native APIs based on the condition if(this.platform.is(‘cordova’)) but I’m more interested in how to build the app as a production web page. Can it be compiled AOT just like a pure Angular project? Any input on your experience is welcome.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49526

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>