I've recently upgraded to PhoneGap 2.2, and have upgraded from every version of PhoneGap since 1.4. Each time I basically download PhoneGap, install a new XCode project from scratch from the terminal, copy my files into www, tweak cordova.plist a little, copy cordova.ios.js into my scripts directory and point to it from my index file. No big deal, right?
This time around, however, I'm having problems. I am certain that cordova.ios.js is being included from my tag because I put an alert on line 1 and the alert fires when my app inits. If I then do the following, however:
alert(typeof window.cordova.exec);
.. I would expect to see "function". This time I'm getting an undefined error. Also, all calls to any PhoneGap specific functionality is failing. (Camera access, etc)
Is there anything special about Cordova/PhoneGap 2.2 compared to 2.1 that I am overlooking?
--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
To compile in the cloud, check out build.phonegap.com