Reputation: 47605
I don't understand why there isn't a cdn for all the different cordova.js files.
I am trying to come up with the most straightforward example of including cordova.js for iPhone without resorting to the phoneGap build process, which strikes me as making things complicated so that they can be simple.
Can I do something like:
<script src="//ajax.googleapis.com/cordova/ios/latest/cordova.min.js"></script>
Upvotes: 1
Views: 85
Reputation: 16060
No, this will not work.
I don't think. that the user really would like websites, which could read all local files an you adressbook.
Cordova is made creating a native application with a html5 webview and javascript as language.
You will have to use the commandline toolchain or the web-build service.
npm install cordova -g
Upvotes: 2