-
Notifications
You must be signed in to change notification settings - Fork 106
Ios return path #22
Comments
Same here me too |
@maxborgatti did you find any solution |
unfortunately not: i had to abandon this plugin |
then how you save file and get its path back in ios |
i did use base64. but if you want you can use file plugin (http://ionicframework.com/docs/native/file/) to write down the base64 convert base64 to blob and then write down |
Thanks but i am currently using this base64 to blob using file plugin but it is writing image with zero bytes blank. here's my code `
/**
} // If your base64 string contains "data:image/png;base64,"" at the beginning, keep reading. // The path where the file will be created can you please tell me what am i doing wrong? |
I'm getting "Image Saved to Gallery" as res, only on iOS. On android works fine and gives me back the path.
Is it a bug or am i missing something? Here is my code (i get imageData from cameraPreview plugin):
this.base64ToGallery.base64ToGallery(imageData[0]).then((res) => { console.log('Saved image to gallery ', res) }, err => console.log('Error saving image to gallery ', err) );
The text was updated successfully, but these errors were encountered: