|
|
|
@ -56,11 +56,13 @@ function takeDocPhoto(side) {
|
|
|
|
|
}, function (err) {
|
|
|
|
|
app.dialog.alert(err, "Error");
|
|
|
|
|
}, {
|
|
|
|
|
quality: 80,
|
|
|
|
|
quality: 50,
|
|
|
|
|
targetWidth: 1000,
|
|
|
|
|
pictureSourceType: Camera.PictureSourceType.CAMERA,
|
|
|
|
|
destinationType: Camera.DestinationType.DATA_URL,
|
|
|
|
|
encodingType: Camera.EncodingType.JPEG,
|
|
|
|
|
saveToPhotoAlbum: false,
|
|
|
|
|
correctOrientation: true,
|
|
|
|
|
cameraDirection: Camera.Direction.BACK
|
|
|
|
|
});
|
|
|
|
|
// cordova-plugin-document-scanner was removed because the plugin is buggy.
|
|
|
|
|