Hi,
I am using Sencha touch 2.0.1.1, and trying to combine Sencha with PhoneGap, on a production build (Apache on window 7).
Running the application in dev mode (before running any build) works just fine, and the 'PhoneGap' object is created. The testing build also works. But, when trying to run the production build, the PhoneGap 'deviceready' event is never fired, and the PhoneGap object is never created. This has happened to me with the Android JS file (both cordova-2.1.0.js & cordova-2.2.0.js) on Chrome and Safari.
In order to reproduce this described scenario, you can just create a new project with SenchaCMD, and add this to the app.json file:
Code:
{
"path": "sdk/sencha-touch.js"
},
{
"path": "cordova-2.1.0.js",
/* also tried with: "remote": true */
},
{
"path": "app.js",
"bundle": true, /* Indicates that all class dependencies are concatenated into this file when build */
"update": "delta"
}
By the way, I was trying to download the new Sencha Touch and try that with Phonegap also, but the link seemed to be broken.
Please advice,
Roei.