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.