From b96b349cf22983444b16e01638ecccfcb148255b Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Wed, 26 Oct 2022 14:00:38 +0200 Subject: [PATCH] MOBILE-4145 cordova: Replace plugins This is necessary in order to remove the REQUEST_INSTALL_PACKAGES permission from android manifest --- package-lock.json | 24 ++++++++++++------------ package.json | 10 +++++----- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index ef3d02702..5affb3856 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5461,6 +5461,11 @@ } } }, + "@moodlehq/cordova-plugin-file-opener": { + "version": "3.0.5-moodle.1", + "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-file-opener/-/cordova-plugin-file-opener-3.0.5-moodle.1.tgz", + "integrity": "sha512-YOa76EQnnanOHDR7swDH2/K6z29rcBkdZPEak7m8lhb2O5f/kvcpJxXjf1JqVsuetsOQ2hdRDAuFLMX5mRKUJw==" + }, "@moodlehq/cordova-plugin-file-transfer": { "version": "1.7.1-moodle.5", "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-file-transfer/-/cordova-plugin-file-transfer-1.7.1-moodle.5.tgz", @@ -5471,6 +5476,11 @@ "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-inappbrowser/-/cordova-plugin-inappbrowser-5.0.0-moodle.3.tgz", "integrity": "sha512-BDW53W8BzHIJY6lqV3IyYIO9Rh3qi/nA3qkwZjvJiw7iohlQMeR67LV+bXjM4I8N1PTGoBSXiS5BmaS9NFi/1A==" }, + "@moodlehq/cordova-plugin-intent": { + "version": "2.2.0-moodle.1", + "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-intent/-/cordova-plugin-intent-2.2.0-moodle.1.tgz", + "integrity": "sha512-Pmd+Xa146LcNlU39z8NLElAk7dxp2g75IRQ+zyXkRTzj7h+0JtNgWWw14jFVxOINoMWo0C7ZihJfeQdn+vrVmA==" + }, "@moodlehq/cordova-plugin-ionic-webview": { "version": "5.0.0-moodle.1", "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-ionic-webview/-/cordova-plugin-ionic-webview-5.0.0-moodle.1.tgz", @@ -13403,11 +13413,6 @@ "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" }, - "com-darryncampbell-cordova-plugin-intent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/com-darryncampbell-cordova-plugin-intent/-/com-darryncampbell-cordova-plugin-intent-2.2.0.tgz", - "integrity": "sha512-4ESoeYghE9GGuxKi4pnG+6CUJyYjS2j1tOmvlXXEM/9d5aBU47EpWbKKU1gjcfZFM4KCUbyba1NX6xNcH/L/wA==" - }, "combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", @@ -13492,7 +13497,7 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "concat-stream": { "version": "1.6.2", @@ -14383,11 +14388,6 @@ "resolved": "https://registry.npmjs.org/cordova-plugin-file/-/cordova-plugin-file-6.0.2.tgz", "integrity": "sha512-m7cughw327CjONN/qjzsTpSesLaeybksQh420/gRuSXJX5Zt9NfgsSbqqKDon6jnQ9Mm7h7imgyO2uJ34XMBtA==" }, - "cordova-plugin-file-opener2": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/cordova-plugin-file-opener2/-/cordova-plugin-file-opener2-3.0.5.tgz", - "integrity": "sha512-tjLHDamH5+y0bJZYVe2967L1S4R8tL4Y0rJUzJGoxsyiw3FUlrJNS199POOpzZZ6Xhlntn9a2o7+84r1dMN21A==" - }, "cordova-plugin-geolocation": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/cordova-plugin-geolocation/-/cordova-plugin-geolocation-4.1.0.tgz", @@ -27427,7 +27427,7 @@ "properties-parser": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/properties-parser/-/properties-parser-0.3.1.tgz", - "integrity": "sha1-ExbpU5/7/ZOEXjabIRAiq9R4dxo=", + "integrity": "sha512-AkSQxQAviJ89x4FIxOyHGfO3uund0gvYo7lfD0E+Gp7gFQKrTNgtoYQklu8EhrfHVZUzTwKGZx2r/KDSfnljcA==", "requires": { "string.prototype.codepointat": "^0.2.0" } diff --git a/package.json b/package.json index db650b3de..e8fca520f 100644 --- a/package.json +++ b/package.json @@ -74,8 +74,10 @@ "@ionic-native/web-intent": "^5.36.0", "@ionic-native/zip": "^5.36.0", "@ionic/angular": "^5.9.2", + "@moodlehq/cordova-plugin-file-opener": "^3.0.5-moodle.1", "@moodlehq/cordova-plugin-file-transfer": "1.7.1-moodle.5", "@moodlehq/cordova-plugin-inappbrowser": "5.0.0-moodle.3", + "@moodlehq/cordova-plugin-intent": "^2.2.0-moodle.1", "@moodlehq/cordova-plugin-ionic-webview": "5.0.0-moodle.1", "@moodlehq/cordova-plugin-local-notification": "0.9.0-moodle.3", "@moodlehq/cordova-plugin-qrscanner": "3.0.1-moodle.4", @@ -87,7 +89,6 @@ "@types/cordova": "0.0.34", "@types/dom-mediacapture-record": "^1.0.7", "chart.js": "^2.9.4", - "com-darryncampbell-cordova-plugin-intent": "^2.2.0", "cordova": "^11.0.0", "cordova-android": "^10.1.1", "cordova-clipboard": "^1.3.0", @@ -100,7 +101,6 @@ "cordova-plugin-customurlscheme": "^5.0.2", "cordova-plugin-device": "^2.1.0", "cordova-plugin-file": "6.0.2", - "cordova-plugin-file-opener2": "^3.0.5", "cordova-plugin-geolocation": "^4.1.0", "cordova-plugin-ionic-keyboard": "^2.2.0", "cordova-plugin-media": "5.0.4", @@ -207,7 +207,7 @@ "ANDROID_PATHPREFIX": "/" }, "cordova-plugin-device": {}, - "cordova-plugin-file-opener2": { + "@moodlehq/cordova-plugin-file-opener": { "ANDROID_SUPPORT_V4_VERSION": "27.+" }, "cordova-plugin-geolocation": { @@ -236,7 +236,7 @@ "FCM_VERSION": "18.+", "IOS_FIREBASE_MESSAGING_VERSION": "~> 6.32.2" }, - "com-darryncampbell-cordova-plugin-intent": {}, + "@moodlehq/cordova-plugin-intent": {}, "nl.kingsquare.cordova.background-audio": {}, "cordova.plugins.diagnostic": { "ANDROID_SUPPORT_VERSION": "28.+", @@ -252,4 +252,4 @@ "optionalDependencies": { "keytar": "^7.2.0" } -} +} \ No newline at end of file