15 Nov 2012, 11:33 PM
Agreed ... play nice Mat.
Originally Posted by PhilMerrell
Ps ... FYI, anyone test it with PG (Cordova) 2.2?
I see that has been released on the 1st November.
Also - I'm not getting email notifications either! They stopped around 2 days ago.
16 Nov 2012, 10:22 AM
I did my test; with Sencha Architect I created brand new ST2.0 and ST2.1 projects. They contained just a 'hello world' label in their default views.
In both of their automatically generated index.html files, I wrote the 'include phonegap.js' line that PGB requires me to write. That is the only modification.
I uploaded the ST2.0 project to PGB, and it produced a perfectly functional app.
I uploaded the ST2.1 project to PGB, and it produced a white screen garbage app.
ST2.1 *clearly* caused some sort of incompatibility with PGB, though I don't understand why yet. Sencha folks, there are many of us affected by this.. not a word?
16 Nov 2012, 10:48 AM
As for the PG version I use in their Build service - I don't specify the version, so PGB automatically provides me with the latest version that PGB supports. The 'phonegap.js' file they automatically inject into the output package(s) are whatever the latest version is.
16 Nov 2012, 12:05 PM
Sencha Premium Member
Yes, I'm compiling my own using Cordova 2.2 w/ Sencha Touch 2.1. The results are the same.
Originally Posted by riyaad
16 Nov 2012, 12:10 PM
More advanced tests
I have dived into using the all-powerful PGB 'Debug' tool. Basically it allows you to create a Debug build, and then you use their online debugging tool to see the console/elements/etc. in real time, as if you were running the app in Chrome.
When I include the phonegap.js, I notice several things:
I was really hoping to see an error, but I don't.. the mystery with ST2.1 + PGB continues..
- There are no console errors or warning messages. There are no include problems. In fact, I see evidence that the application's init() is at least firing, from an info log that I write out.
- The DOM is *not* being fully generated. Inside the <body>, it is basically empty. ST2.1 fails to populate it with all its magical stuff - if and only if phonegap.js is included.
Oh look something similar (but also unresolved) involving ST2.1 and PhoneGap = White Broken App:
Hi everyone, on request I updated my article Packaging a Sencha Touch 2 application with PhoneGap for Android to explain how to make it work with 2.1. I did not read this whole thread but I got my simple PhoneGap example to work fine using 2.1 and the Sencha Command utility.
Hope that helps!
18 Nov 2012, 10:34 AM
Hi, is there any further info about this? I have 2.1 app, which in production build is not working (build using sencah cmd). Thanks for any info.
19 Nov 2012, 12:32 AM
19 Nov 2012, 12:34 AM
Hi MKramb, welcome - same issue here. Currently playing the waiting game. Sencha - anything?
Originally Posted by mkramb
Tags for this Thread