From a3c541c88f6c354cd8a86acee6782afe1ec17453 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 19 Mar 2024 14:03:54 +0100 Subject: [PATCH] MOBILE-4449 cordova: Update camera plugin --- package-lock.json | 80 +++++++++++++++++++++++------------------------ package.json | 8 ++--- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0971fe3bc..5a8f1e7c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,6 +41,7 @@ "@ionic/angular": "^7.7.4", "@ionic/cordova-builders": "^10.1.1", "@moodlehq/cordova-plugin-advanced-http": "3.3.1-moodle.1", + "@moodlehq/cordova-plugin-camera": "7.0.0-moodle.1", "@moodlehq/cordova-plugin-file-opener": "4.0.0-moodle.1", "@moodlehq/cordova-plugin-file-transfer": "2.0.0-moodle.2", "@moodlehq/cordova-plugin-inappbrowser": "5.0.0-moodle.3", @@ -65,7 +66,6 @@ "cordova-plugin-add-swift-support": "^2.0.2", "cordova-plugin-androidx-adapter": "^1.1.3", "cordova-plugin-badge": "^0.8.9", - "cordova-plugin-camera": "^7.0.0", "cordova-plugin-chooser": "^1.3.2", "cordova-plugin-customurlscheme": "^5.0.2", "cordova-plugin-device": "^2.1.0", @@ -7718,6 +7718,45 @@ ], "license": "MIT" }, + "node_modules/@moodlehq/cordova-plugin-camera": { + "version": "7.0.0-moodle.1", + "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-camera/-/cordova-plugin-camera-7.0.0-moodle.1.tgz", + "integrity": "sha512-uOvOFc/4BtvKItxthEKDg/YO8V2ScbvzrcdJTk7GpHIrj9NwUupJEDp6uI5tvk04c1OhrMWAsQqc2ll6znExxQ==", + "engines": { + "cordovaDependencies": { + "3.0.0": { + "cordova-android": ">=6.3.0" + }, + "4.1.0": { + "cordova": ">=7.1.0", + "cordova-android": ">=6.3.0" + }, + "5.0.0": { + "cordova": ">=9.0.0", + "cordova-android": ">=9.0.0", + "cordova-ios": ">=5.1.0" + }, + "5.0.4-dev": { + "cordova": ">=9.0.0", + "cordova-android": "<10.0.0", + "cordova-ios": ">=5.1.0" + }, + "6.0.0": { + "cordova": ">=9.0.0", + "cordova-android": ">=10.0.0", + "cordova-ios": ">=5.1.0" + }, + "7.0.0": { + "cordova": ">=9.0.0", + "cordova-android": ">=12.0.0", + "cordova-ios": ">=5.1.0" + }, + "8.0.0": { + "cordova": ">100" + } + } + } + }, "node_modules/@moodlehq/cordova-plugin-file-opener": { "version": "4.0.0-moodle.1", "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-file-opener/-/cordova-plugin-file-opener-4.0.0-moodle.1.tgz", @@ -12700,45 +12739,6 @@ ], "license": "Apache 2.0" }, - "node_modules/cordova-plugin-camera": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-7.0.0.tgz", - "integrity": "sha512-OVQWZTBb18Y6e5c+bbXt3E4Z1yGnYqaywh2h5vVr/+nxMcdMIE+lm527bRK5vLN/RUqhGYP/Z+5n+O7Fk7fVNw==", - "engines": { - "cordovaDependencies": { - "3.0.0": { - "cordova-android": ">=6.3.0" - }, - "4.1.0": { - "cordova": ">=7.1.0", - "cordova-android": ">=6.3.0" - }, - "5.0.0": { - "cordova": ">=9.0.0", - "cordova-android": ">=9.0.0", - "cordova-ios": ">=5.1.0" - }, - "5.0.4-dev": { - "cordova": ">=9.0.0", - "cordova-android": "<10.0.0", - "cordova-ios": ">=5.1.0" - }, - "6.0.0": { - "cordova": ">=9.0.0", - "cordova-android": ">=10.0.0", - "cordova-ios": ">=5.1.0" - }, - "7.0.0": { - "cordova": ">=9.0.0", - "cordova-android": ">=12.0.0", - "cordova-ios": ">=5.1.0" - }, - "8.0.0": { - "cordova": ">100" - } - } - } - }, "node_modules/cordova-plugin-chooser": { "version": "1.3.2", "license": "Apache-2.0" diff --git a/package.json b/package.json index 2032c4f3f..fe5e38680 100644 --- a/package.json +++ b/package.json @@ -75,6 +75,7 @@ "@ionic/angular": "^7.7.4", "@ionic/cordova-builders": "^10.1.1", "@moodlehq/cordova-plugin-advanced-http": "3.3.1-moodle.1", + "@moodlehq/cordova-plugin-camera": "7.0.0-moodle.1", "@moodlehq/cordova-plugin-file-opener": "4.0.0-moodle.1", "@moodlehq/cordova-plugin-file-transfer": "2.0.0-moodle.2", "@moodlehq/cordova-plugin-inappbrowser": "5.0.0-moodle.3", @@ -99,7 +100,6 @@ "cordova-plugin-add-swift-support": "^2.0.2", "cordova-plugin-androidx-adapter": "^1.1.3", "cordova-plugin-badge": "^0.8.9", - "cordova-plugin-camera": "^7.0.0", "cordova-plugin-chooser": "^1.3.2", "cordova-plugin-customurlscheme": "^5.0.2", "cordova-plugin-device": "^2.1.0", @@ -193,6 +193,9 @@ "@moodlehq/cordova-plugin-advanced-http": { "ANDROIDBLACKLISTSECURESOCKETPROTOCOLS": "SSLv3,TLSv1" }, + "@moodlehq/cordova-plugin-camera": { + "ANDROIDX_CORE_VERSION": "1.6.+" + }, "@moodlehq/cordova-plugin-file-opener": {}, "@moodlehq/cordova-plugin-file-transfer": {}, "@moodlehq/cordova-plugin-inappbrowser": {}, @@ -211,9 +214,6 @@ "cordova-clipboard": {}, "cordova-plugin-androidx-adapter": {}, "cordova-plugin-badge": {}, - "cordova-plugin-camera": { - "ANDROIDX_CORE_VERSION": "1.6.+" - }, "cordova-plugin-chooser": {}, "cordova-plugin-customurlscheme": { "URL_SCHEME": "moodlemobile",