AKA
AKA

Reputation: 6935

Where do i get Cordova 3.4.js?

I am working with Sencha Touch. I need the latest Cordova 3.4.js (That Javascript file only) to build my project. The only resource known for me is Phonegap thing. But the latest available Phonegap archive version is 2.9.1. But I need Ver 3.4.0 and Included Cordova 3.4.0.js for android & iOS. Can anyone help me on this ??

Upvotes: 4

Views: 4727

Answers (5)

meim
meim

Reputation: 1

Cordova.js Now uses requires.js. it will be hard to just find Cordova.js file and put it in your project and expect it to work.... You will find it after u use the build command(if u know what I mean)

Upvotes: 0

MIkka Marmik
MIkka Marmik

Reputation: 1102

hope so it helps.... (1 install ecipse or ADT

http://w3stream.blogspot.in/2014/02/phonegap-34-environment-setup-and.html?m=1

Upvotes: 0

Nurdin
Nurdin

Reputation: 23883

No worry about that. After you build your cordova project for iOS and android, already there.

iOS

enter image description here

Android

enter image description here

Upvotes: 0

QuickFix
QuickFix

Reputation: 11721

For cordova 3.4/Phonegap 3.4 you should be using the Command Line Interface to create/build your projects.

cordova.js is automatically added to the project when you run either cordova build ios or cordova build android.

The content of the cordova.js is dependant of the platform you build for and it loads other scripts files, like for example plugins. You can't just copy the cordova.js file like you used to with cordova <3.0. You could find the cordova.js in the zip as refered in previous answer (in platforms dependent subfolders), but again, you'd really better use the CLI.

Upvotes: 2

Hektor
Hektor

Reputation: 1945

You can get the .zip file here: https://github.com/apache/cordova-js/releases/tag/3.4.0 Just extract the JavaScript file.

Upvotes: 2

Related Questions