Question

Seems like I've taken all the steps and measures but cant get iphone camera to work.

  1. Include <script src="cordova.js"></script>

  2. install the plugin: $ cordova plugin add org.apache.cordova.camera

  3. Configure config.xml:

3) Call it on deviceready

document.addEventListener("deviceready",onDeviceReady,false);
function onDeviceReady() { alert(navigator.camera) }

returns undefined

Any suggestions?

I tried it in Ripple and it actually works...

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top