Access using server url


#1

i want to serve all static files from server I.e abc.com/ionic/www/index.html. if i update src in config.xml it works but i’m not able to cordova features as there is no cordova.js files. i put cordova,js files in my www folder that is copied from android/www folder but still it didn’t work.


#2

You can only get the www folder to work on a website. The cordova.js library requires a cordova “adapter” to be installed on the device. Which is the Java or Objective-C code… they can’t communicate with the native APIs of the device through a regular web browser.


#3

i want to do something that all my controllers html and css comes from my server instead of local apk. i’m able to achieve this by putting my url in config.xml but i’m not able to use native features like sqllite and all.