Saving image from base64togallery


#1

this.base64ToGallery[‘base64ToGallery’](this.photonew, { prefix: ‘_img’ }).then(
res => console.log('Saved image to gallery ', res),
err => console.log('Error saving image to gallery ', err)
);

Argument of type ‘{ prefix: string; }’ is not assignable to parameter of type ‘Base64ToGalleryOptions’.
Property ‘mediaScanner’ is missing in type ‘{ prefix: string; }’.


#2

Hi, are you taking the photo from camera, or picking it from file chooser?


#3

i want to save the image for both cases


#4

Any solution? I have the same issue.