diff --git a/package.json b/package.json index 5abbc338..c553436b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-photo-library-wkwebview", - "version": "3.0.2", + "version": "3.0.3", "description": "Plugin that just gets photos from the gallery", "main": "index.js", "scripts": { diff --git a/plugin.xml b/plugin.xml index d55515a7..64d152fc 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,6 +1,6 @@ +version="3.0.3" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"> Photo Library diff --git a/src/browser/PhotoLibraryProxy.js b/src/browser/PhotoLibraryProxy.js index c14fa90b..d13aee5a 100644 --- a/src/browser/PhotoLibraryProxy.js +++ b/src/browser/PhotoLibraryProxy.js @@ -1,6 +1,6 @@ // Assume browser supports lambdas -var async = cordova.require('cordova-plugin-photo-library.async'); +var async = cordova.require('cordova-plugin-photo-library-wkwebview.async'); var photoLibraryProxy = { diff --git a/www/PhotoLibrary.android.js b/www/PhotoLibrary.android.js index 06ad9847..f8c6e5fe 100644 --- a/www/PhotoLibrary.android.js +++ b/www/PhotoLibrary.android.js @@ -1,6 +1,6 @@ var exec = require('cordova/exec'); -var async = cordova.require('cordova-plugin-photo-library.async'); +var async = cordova.require('cordova-plugin-photo-library-wkwebview.async'); var defaultThumbnailWidth = 512; // optimal for android var defaultThumbnailHeight = 384; // optimal for android diff --git a/www/PhotoLibrary.ios.js b/www/PhotoLibrary.ios.js index 3ad880bd..bcf2e84d 100644 --- a/www/PhotoLibrary.ios.js +++ b/www/PhotoLibrary.ios.js @@ -1,6 +1,6 @@ var exec = require('cordova/exec'); -// var async = cordova.require('cordova-plugin-photo-library.async'); +// var async = cordova.require('cordova-plugin-photo-library-wkwebview.async'); var defaultThumbnailWidth = 512; // optimal for android var defaultThumbnailHeight = 384; // optimal for android