Phillip Senn
Phillip Senn

Reputation: 47605

Where to get the latest version of cordova.js for iPhone

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

Answers (1)

Christian Kuetbach
Christian Kuetbach

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

Related Questions