From d4bee49678cc1bf2ea9771f8800555fd4442dca9 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Wed, 20 Jul 2016 07:12:44 -0400 Subject: [PATCH] fix(base64togallery): update plugin wrapper to match latest version closes #335 --- src/plugins/base64togallery.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/base64togallery.ts b/src/plugins/base64togallery.ts index a5cc2d2a6..b55be6423 100644 --- a/src/plugins/base64togallery.ts +++ b/src/plugins/base64togallery.ts @@ -24,11 +24,11 @@ export class Base64ToGallery { /** * Converts a base64 string to an image file in the device gallery * @param {string} data The actual base64 string that you want to save - * @param {string} prefix Prefix the file with a string. Default is 'img_'. Optional. + * @param {any} options (optional) An object with properties: prefix, mediaScanner * @returns {Promise} returns a promise that resolves when the image is saved. */ @Cordova() - static base64ToGallery(data: string, prefix?: string): Promise { + static base64ToGallery(data: string, options?: {prefix?: string; mediaScanner?: boolean}): Promise { return; }