Domanda

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...

Nessuna soluzione corretta

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top