Access using server url

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.

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.

1 Like

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.