For testing purposes I copied the full example found on the phonegap camera API and I put an alert on onPhotoDataSuccess
to test when the function is fired. On the
I had the same problem after updating from 3.0.0 to 3.1.0. Delayed camera, no geolocation, etc.
Look if the file platforms\android\cordova\version
states an old version.
Then you need to update your platform. So here is what i did.
cordova plugin rm org.apache.cordova.camera
cordova platform remove android
(will delete changes you have made to *.java files)cordova platform add android
cordova plugin add org.apache.cordova.camera
It's basically like creating a new project.