Adjust camera plugin settings
This commit is contained in:
		
							parent
							
								
									5685b924f7
								
							
						
					
					
						commit
						1a11c8f2ce
					
				| @ -56,11 +56,13 @@ function takeDocPhoto(side) { | |||||||
|         }, function (err) { |         }, function (err) { | ||||||
|             app.dialog.alert(err, "Error"); |             app.dialog.alert(err, "Error"); | ||||||
|         }, { |         }, { | ||||||
|             quality: 80, |             quality: 50, | ||||||
|             targetWidth: 1000, |             targetWidth: 1000, | ||||||
|  |             pictureSourceType: Camera.PictureSourceType.CAMERA, | ||||||
|             destinationType: Camera.DestinationType.DATA_URL, |             destinationType: Camera.DestinationType.DATA_URL, | ||||||
|             encodingType: Camera.EncodingType.JPEG, |             encodingType: Camera.EncodingType.JPEG, | ||||||
|             saveToPhotoAlbum: false, |             saveToPhotoAlbum: false, | ||||||
|  |             correctOrientation: true, | ||||||
|             cameraDirection: Camera.Direction.BACK |             cameraDirection: Camera.Direction.BACK | ||||||
|         }); |         }); | ||||||
| //        cordova-plugin-document-scanner was removed because the plugin is buggy.
 | //        cordova-plugin-document-scanner was removed because the plugin is buggy.
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user