This plugin is created with Capacitor 4 to demonstrate the functionality of saving image to external storage directory.
npm install save-image-plugin-demo
npx cap sync
saveBase64ToGallery(options: { base64String: string; folderName: string; }) => Promise<{ base64String: string; folderName: string; }>
Param | Type |
---|---|
options |
{ base64String: string; folderName: string; } |
Returns: Promise<{ base64String: string; folderName: string; }>
downloadFileFromURL(options: { url: string; }) => Promise<{ url: string; }>
Param | Type |
---|---|
options |
{ url: string; } |
Returns: Promise<{ url: string; }>