Below my code
this.camera.getPicture(options).then((imageData) => {
this.ImageData = 'data:image/jpeg;base64,' + imageData;
this.photos.push(this.ImageData); //if you have to show multiple image
}, (err) => {
// Handle error
});
I’m doing like this is it ok or not ?
Thanks