Hi guys , i’m facing an issue using camera module , its sometimes crash when i press ok to retrieve a photo. this is what my code looks like:
function takePicture(){
camera.takePicture(400,350).then(function(file)
{
picture.value = file
}).catch(function(e) {
console.log(e);
});
};
when press ok to retrieve the photo , if the photo is successfully retrieved , it takes sometimes to re enter the app however it crash immediately