I use ST2.1, Sencha Architect, and PhoneGap Build. I'm afraid that post is very unrelated to my workflow.
Printable View
I use ST2.1, Sencha Architect, and PhoneGap Build. I'm afraid that post is very unrelated to my workflow.
I'm using ST2.1 (final) with Cordova 2.2.0 and it works fine. I'm not using sencha-touch-all.js, but sencha-touch.js and the rest of necessary ST2.1 files is added to app.js during build process (sencha app build testing/package).
..this problem does not apply to you. It is a problem that occurs if and only if you load sencha-touch-all.js, and phonegap.js.
So we have to manually rip out Ext.device to run with phonegap? That seems extremely broken.
+1 Broken here too.
It's all here.. main solution thus far (if you are using the all.js like us): http://www.sencha.com/forum/showthre....0.1-to-ST-2.1
Hi,
I have fixed this issue, Just i have changed the code in the sencha-touch-all-debug.js line 69353.
The code in the sencha-touch-all-debug.js
I have changed toCode:if (Ext.Viewport.isReady) {
this.onReady();
} else {
Ext.Viewport.on('ready', this.onReady, this, {single: true});
}
Code:if(Ext.Viewport)
{
if (Ext.Viewport.isReady) {
this.onReady();
} else {
Ext.Viewport.on('ready', this.onReady, this, {single: true});
}
}