I want to save the picture in album after capturing the picture using Cordova Camera Plugin.
So I tried with the camera option 'saveToPhotoAlbum' set to true, but this is not saving the captured image but the same is working in iOS.
I set the following options:
{ quality : 50,
destinationType : Camera.DestinationType.DATA_URL,
sourceType : Camera.PictureSourceType.CAMERA,
targetWidth: 1000,
targetHeight: 1000,
correctOrientation: true,
saveToPhotoAlbum: true };
I resolved the problem by changing the destinationType : Camera.DestinationType.FILE_URI