From 066f32f2ed944407a5f36d3da3e9039fc1e84105 Mon Sep 17 00:00:00 2001 From: parveshneedhoo Date: Fri, 3 May 2024 12:18:35 +0400 Subject: [PATCH] fix method name --- www/imagepicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/imagepicker.js b/www/imagepicker.js index e1c21b21..530e73eb 100644 --- a/www/imagepicker.js +++ b/www/imagepicker.js @@ -32,7 +32,7 @@ ImagePicker.prototype.requestReadPermission = function(callback, failureCallback return cordova.exec(callback, failureCallback, "ImagePicker", "requestReadPermission", []); }; -ImagePicker.prototype.forceClose = function(callback) { +ImagePicker.prototype.closeImagePicker = function(callback) { return cordova.exec(callback, null, "ImagePicker", "closeImagePicker", []); };