-
20 Mar 2012 11:50 AM #1
Unanswered: Phonega and Sencha 2
Unanswered: Phonega and Sencha 2
Hello, is Sencha touch 2.0 compatible with Phonegap 1.5 ?
I askthat becausewith the sencha1.1 projects I have no problem,instead of2.0 projects that do not work.
I tried eclipse and xcode with PhoneGap 1.5.
Thanks in advance
Paolo
-
20 Mar 2012 1:03 PM #2
PhoneGap 1.5 has changed its namespace to Cordova, so I think it is something that ST2 needs to change to detect it. AFAIK they have a detection for PhoneGap namespace
-
20 Mar 2012 2:09 PM #3
-
20 Mar 2012 5:25 PM #4
PhoneGap 1.5 will not work as @elmasse mentioned. However previous releases will work.
Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
-
20 Mar 2012 7:31 PM #5
I've been seeing a lot of these threads lately. Am I missing something? I'm using ST2 and Phonegap 1.5, latest builds of everything and I can compile and run on my iPhone and iPad.
Is there specific functionality that is broken? I've been using bits and pieces of the Phonegap API successfully.
-
21 Mar 2012 12:11 AM #6
-
21 Mar 2012 12:28 AM #7
Are You sure ?
With me:
Eclipse / Phonegap 1.5 / ST 2.0 , result "White page"
Eclipse / Phonegap 1.5 / ST 1 , result "It work"
Xcode / Phonegap 1.3 / ST 2.0 , result "White page"
Xcode / Phonegap 1.3 / ST 1 , result "It work"
This ST2 project in my webserver work good.
Why ??
Thanks in advance.
Paolo
-
21 Mar 2012 12:41 AM #8
After doing quite some testing ( not fully done though) I've found the following to be true:
- It is not the version of Phonegap that is causing problems, it is the verion of Sencha Touch. I've had success with both Cordova (1.5) and Phonegap (1.4.1 and below), but equally many misses.
- It has nothing to do with name spacing. Because a phonegap project that does NOT include phonegap.js can fail equally well.
- I still suspect it has something to do with the class loading mechanism, though I'm not sure.
- In one case (kitchensink example + Cordova) I got things to work when I left out the google api js..
I'll update when I find out more, but debugging is difficult since no usefull error messages, or for that matter ANY error messages are shown.twitter: @realjax
-
21 Mar 2012 3:32 AM #9
I'm using Phonegap Cordova 1.5 and ST2 in my app I'm currently developing , along with Google Maps API any many other features. Works like a charm, no issues with namespace or whatever.
-
21 Mar 2012 3:35 AM #10
Having the same problem. I also suspect that it has something to do with the class loading mechanism.


Reply With Quote
