I'm using the Ext.device.Camera.capture function in my sencha application with cordova for ios but it doesn't work, the camera doesn't show up.
In app.js I have 'Ext.device.Camera' in requires
Here's the code
Ext.device.Camera.capture({
success: function(image) {
console.log(image);
},
failure: function(){
Ext.Msg.alert("Errore", "Errore nel salvataggio della foto, per favore riprovare.");
},
quality: 85,
width: 1280,
height: 1713,
destination: 'file',
encoding: 'jpg'
});
n console log I get 'http://www.sencha.com/img/sencha-large.png'