Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
Android 4.4, Android 6, cordova-android 5.0.0, cordova-plugin-camera 2.0.0
Description
If you try to run the following code, you will receive empty string as the path:
navigator.camera.getPicture(function(path) {
...
}, onError, {
quality: 75,
destinationType: Camera.DestinationType.FILE_URI,
sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
encodingType: Camera.EncodingType.JPEG,
popoverOptions: new CameraPopoverOptions(position.left, position.top),
mediaType: Camera.MediaType.PICTURE
});