Hi, now I am making an ionic app using Cordova Camera Preview Plugin.
what I want to do is
- take a picture with camera preview
- display the picture on the screen once it is taken with 'Full Screen"
- send this picture to a server
now, my codes are
takePhoto(){
const options : CameraPreviewPictureOptions = {
quality: 80
}
this.cameraPreview.takePicture(options).then((base64PictureData) => {
console.log(base64PictureData)
this.photoService.uploadPhoto(base64PictureData);
})
}
in this codes, I can’t display the picture taken.
Please let me know how to display the picture.
thanks!