-Create a new project.
-Add ios platform and camera
-Replace www/index.html with: https://gist.github.com/anonymous/09d4cd8134afe8a53d50
-Deploy the app to iphone5s
-It will crash with the following messages on console:
When debugged in xcode I've found the following. In CDVViewController.m (shouldAutorotateToInterfaceOrientation) calling the eval is throwing:
On a separate thread we have CDVCamera.m (takePicture):
throwing a EXC_BAD_ACCESS at
The bad access I believe is due to the fact that this thread runs in the background but tries to do UI manipulation.
I've tried the same cordova app with camera r0.3.4 and it worked fine on iphone 5s. Looks like we've broken this with r0.3.5 refactoring.