Pergunta

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

Nenhuma solução correta

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top