Hello,took a minute today and test the Cordova examples under both iOS and Android (using cordova v2.1.0). Both worked fluently.
Some suggestions on the iOS doc side of things:on the README.md we need to update step 2 in the section "Import the Quickstart Code". In particular the statement "Right click on KitchensinkCordova.xcodeproj and select Open With Xcode" doesn't work cause if you open it there is a missing Cordova dependency.
As suggested in the guide[1] we need to change into the kitchensink-cordova directory, delete the existing ios directory and recreate with$CORDOVA_HOME/lib/ios/bin/create ios org.jboss.as.quickstarts.kitchensinkcordova KitchensinkCordovaThen we need tocd ios rm -rf www ln -s ../../shared/www wwwand then open the KitchensinkCordova.xcodeproj project.
_______________________________________________Further, if we try to run the project, we get an error in the console:2012-11-08 11:24:47.675 KitchensinkCordova[741:2703] ERROR whitelist rejection: url='http://html5-aerogear.rhcloud.com/rest/members?_=1352366687671'Unless we don't explicitly allow it, cordova blocks external url access. We need to update the guide to include a section explaining ours users how to do that. Otherwise they left wonder.Thinking something like that:"You must add an exception in Cordova to allow it to access external urls. Failing to do so will result in the application not able to connect and access the remote server application. Please modify Resources->Cordova.plist and add an entry in the ExternalHosts key pointing to "html5-aerogear.rhcloud.com".Thanks,ChristosOn Nov 7, 2012, at 8:17 PM, Lucas Holmquist <lholmqui@redhat.com> wrote:_______________________________________________I updated our Cordova quick start example to 2.1.0, seems to work fine on my machine, just wanted to get some different eyes on it for testing.It's in a branch in my repo currentlyhttps://github.com/lholmquist/as-quickstarts/tree/AEROGEAR-580If i don't hear anything by tuesday next week, i'll merge this into master-Luke2.2.0 just came out, wonder if i should upgrade to that instead of 2.1.0?
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev