MOBILE-3833 cordova: Update cordova plugins

main
Dani Palou 2022-02-08 07:56:45 +01:00
parent cc78598e4c
commit 9e028a0336
4 changed files with 113 additions and 109 deletions

View File

@ -51,6 +51,7 @@
<preference name="AndroidXEnabled" value="true" /> <preference name="AndroidXEnabled" value="true" />
<preference name="GradlePluginGoogleServicesEnabled" value="true" /> <preference name="GradlePluginGoogleServicesEnabled" value="true" />
<preference name="GradlePluginGoogleServicesVersion" value="4.3.10" /> <preference name="GradlePluginGoogleServicesVersion" value="4.3.10" />
<preference name="StatusBarOverlaysWebView" value="false" />
<feature name="StatusBar"> <feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" /> <param name="ios-package" onload="true" value="CDVStatusBar" />
</feature> </feature>

178
package-lock.json generated
View File

@ -56,15 +56,15 @@
"@types/cordova": "0.0.34", "@types/cordova": "0.0.34",
"@types/dom-mediacapture-record": "^1.0.7", "@types/dom-mediacapture-record": "^1.0.7",
"chart.js": "^2.9.4", "chart.js": "^2.9.4",
"com-darryncampbell-cordova-plugin-intent": "^1.3.0", "com-darryncampbell-cordova-plugin-intent": "^2.2.0",
"cordova": "^10.0.0", "cordova": "^10.0.0",
"cordova-android": "^10.1.1", "cordova-android": "^10.1.1",
"cordova-clipboard": "^1.3.0", "cordova-clipboard": "^1.3.0",
"cordova-ios": "^6.2.0", "cordova-ios": "^6.2.0",
"cordova-plugin-add-swift-support": "^2.0.2", "cordova-plugin-add-swift-support": "^2.0.2",
"cordova-plugin-advanced-http": "^3.1.0", "cordova-plugin-advanced-http": "^3.2.2",
"cordova-plugin-badge": "^0.8.8", "cordova-plugin-badge": "^0.8.8",
"cordova-plugin-camera": "^5.0.1", "cordova-plugin-camera": "^6.0.0",
"cordova-plugin-chooser": "^1.3.2", "cordova-plugin-chooser": "^1.3.2",
"cordova-plugin-customurlscheme": "^5.0.2", "cordova-plugin-customurlscheme": "^5.0.2",
"cordova-plugin-device": "^2.0.3", "cordova-plugin-device": "^2.0.3",
@ -73,17 +73,16 @@
"cordova-plugin-geolocation": "^4.1.0", "cordova-plugin-geolocation": "^4.1.0",
"cordova-plugin-globalization": "^1.11.0", "cordova-plugin-globalization": "^1.11.0",
"cordova-plugin-ionic-keyboard": "^2.2.0", "cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-media": "^5.0.3", "cordova-plugin-media": "^5.0.4",
"cordova-plugin-media-capture": "^3.0.3", "cordova-plugin-media-capture": "^3.0.3",
"cordova-plugin-network-information": "^2.0.2", "cordova-plugin-network-information": "^3.0.0",
"cordova-plugin-prevent-override": "^1.0.0", "cordova-plugin-prevent-override": "^1.0.1",
"cordova-plugin-splashscreen": "^6.0.0", "cordova-plugin-splashscreen": "^6.0.0",
"cordova-plugin-statusbar": "^2.4.3", "cordova-plugin-statusbar": "^3.0.0",
"cordova-plugin-wkuserscript": "^1.0.0", "cordova-plugin-wkuserscript": "^1.0.1",
"cordova-plugin-wkwebview-cookies": "^1.0.0", "cordova-plugin-wkwebview-cookies": "^1.0.1",
"cordova-sqlite-storage": "^6.0.0", "cordova-sqlite-storage": "^6.0.0",
"cordova-support-google-services": "^1.2.1", "cordova.plugins.diagnostic": "^6.1.1",
"cordova.plugins.diagnostic": "^5.0.2",
"core-js": "^3.9.1", "core-js": "^3.9.1",
"es6-promise-plugin": "^4.2.2", "es6-promise-plugin": "^4.2.2",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
@ -10070,9 +10069,9 @@
} }
}, },
"node_modules/com-darryncampbell-cordova-plugin-intent": { "node_modules/com-darryncampbell-cordova-plugin-intent": {
"version": "1.3.0", "version": "2.2.0",
"resolved": "https://registry.npmjs.org/com-darryncampbell-cordova-plugin-intent/-/com-darryncampbell-cordova-plugin-intent-1.3.0.tgz", "resolved": "https://registry.npmjs.org/com-darryncampbell-cordova-plugin-intent/-/com-darryncampbell-cordova-plugin-intent-2.2.0.tgz",
"integrity": "sha512-JXslndd4UiRHmirGZrwrHZHczoZ5sxM7zAylm4bPX7ZDwD4FdCHhILgDA8AeaG8wc11e0A7OEAFo0Esgc0M4yA==" "integrity": "sha512-4ESoeYghE9GGuxKi4pnG+6CUJyYjS2j1tOmvlXXEM/9d5aBU47EpWbKKU1gjcfZFM4KCUbyba1NX6xNcH/L/wA=="
}, },
"node_modules/combined-stream": { "node_modules/combined-stream": {
"version": "1.0.8", "version": "1.0.8",
@ -11044,9 +11043,9 @@
} }
}, },
"node_modules/cordova-plugin-advanced-http": { "node_modules/cordova-plugin-advanced-http": {
"version": "3.1.0", "version": "3.2.2",
"resolved": "https://registry.npmjs.org/cordova-plugin-advanced-http/-/cordova-plugin-advanced-http-3.1.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-advanced-http/-/cordova-plugin-advanced-http-3.2.2.tgz",
"integrity": "sha512-zlTlNJyTttE7TV5vW2WGvHqpbKMDVrr1meZU0fy4y3ObrI/hGk2UDcDNwpZdMfaytNZwDKU4sRgsTgQYdFNBew==", "integrity": "sha512-9djtQuRwWMqCLTNRrtAIlGyRcs2D0AJXOzkedOQ6udlg3IVE58hhxjrFOdKz6WvoJ6w2MNVeRYafYvoWLHFuMA==",
"engines": [ "engines": [
{ {
"name": "cordova", "name": "cordova",
@ -11088,9 +11087,9 @@
] ]
}, },
"node_modules/cordova-plugin-camera": { "node_modules/cordova-plugin-camera": {
"version": "5.0.1", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-5.0.1.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-6.0.0.tgz",
"integrity": "sha512-9gXyZvI8u9KzsZuqmB8Yw+uheF+7f+usMAwvOMw7L7pqbykg+bm9US5zjhJbwit3A1cSblgZkpBafe5cFiMcTA==", "integrity": "sha512-FTFKep8HZI/2HkX+Gc/dUACfZGV9+k9waXlgoEOKXOiPPR/1zBw29Mw+adcz4FQUpdWyAgYDxNiaPUnP0P+H2Q==",
"engines": { "engines": {
"cordovaDependencies": { "cordovaDependencies": {
"3.0.0": { "3.0.0": {
@ -11105,7 +11104,17 @@
"cordova-android": ">=9.0.0", "cordova-android": ">=9.0.0",
"cordova-ios": ">=5.1.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": { "6.0.0": {
"cordova": ">=9.0.0",
"cordova-android": ">=10.0.0",
"cordova-ios": ">=5.1.0"
},
"7.0.0": {
"cordova": ">100" "cordova": ">100"
} }
} }
@ -11195,9 +11204,9 @@
"integrity": "sha512-yDUG+9ieKVRitq5mGlNxjaZh/MgEhFFIgTIPhqSbUaQ8UuZbawy5mhJAVClqY97q8/rcQtL6dCDa7x2sEtCLcA==" "integrity": "sha512-yDUG+9ieKVRitq5mGlNxjaZh/MgEhFFIgTIPhqSbUaQ8UuZbawy5mhJAVClqY97q8/rcQtL6dCDa7x2sEtCLcA=="
}, },
"node_modules/cordova-plugin-media": { "node_modules/cordova-plugin-media": {
"version": "5.0.3", "version": "5.0.4",
"resolved": "https://registry.npmjs.org/cordova-plugin-media/-/cordova-plugin-media-5.0.3.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-media/-/cordova-plugin-media-5.0.4.tgz",
"integrity": "sha512-UQPFlpk1zL4BY44zGi8RVmYCvcKBCN4Dyf8ovxqGYCC8zR1yhbTRWYDdO9vJdERwbfgWV7+z7FMWiSUfqWm9bQ==", "integrity": "sha512-mAqincYqOT5gu5LWyfgJu3qmOq+lhLAKhnOZULpG622FvYiHjjfsoJ/fkI55WwI3FIcHeeyhToGvHXBCNJePZg==",
"engines": { "engines": {
"cordovaDependencies": { "cordovaDependencies": {
"3.0.0": { "3.0.0": {
@ -11231,21 +11240,24 @@
} }
}, },
"node_modules/cordova-plugin-network-information": { "node_modules/cordova-plugin-network-information": {
"version": "2.0.2", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-network-information/-/cordova-plugin-network-information-2.0.2.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-network-information/-/cordova-plugin-network-information-3.0.0.tgz",
"integrity": "sha512-NwO3qDBNL/vJxUxBTPNOA1HvkDf9eTeGH8JSZiwy1jq2W2mJKQEDBwqWkaEQS19Yd/MQTiw0cykxg5D7u4J6cQ==", "integrity": "sha512-bBtP3PxIX8vshsfR0+F6co2e2cFLgjt18yKIdigzMwk6ANudWQ72RB3g2qMPyT6fBDWmUyE1Qd+bKQB/fZtQwQ==",
"engines": { "engines": {
"cordovaDependencies": { "cordovaDependencies": {
"3.0.0": { "3.0.0": {
"cordova": ">=9"
},
"4.0.0": {
"cordova": ">100" "cordova": ">100"
} }
} }
} }
}, },
"node_modules/cordova-plugin-prevent-override": { "node_modules/cordova-plugin-prevent-override": {
"version": "1.0.0", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-prevent-override/-/cordova-plugin-prevent-override-1.0.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-prevent-override/-/cordova-plugin-prevent-override-1.0.1.tgz",
"integrity": "sha512-/+3q5r4K5RahCpiYVmZQBjq10x4jj+6CMjYtZyx9jdMWeV+yFE+ItFcO1NeUAEWd2iHC5YPD0P2tHiHx5kscsw==", "integrity": "sha512-yy1JZ+lXTR33Ai1yloT6wdXJXe0a3LrfgnKORuPZv/QkbiqfIQKjy0R4zRP8qljaJSelF/xv5CgrVt8iS0SkBg==",
"engines": { "engines": {
"cordovaDependencies": { "cordovaDependencies": {
"3.0.0": { "3.0.0": {
@ -11274,24 +11286,24 @@
} }
}, },
"node_modules/cordova-plugin-statusbar": { "node_modules/cordova-plugin-statusbar": {
"version": "2.4.3", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.4.3.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-3.0.0.tgz",
"integrity": "sha512-ThmXzl6QIKWFXf4wWw7Q/zpB+VKkz3VM958+5A0sXD4jmR++u7KnGttLksXshVwWr6lvGwUebLYtIyXwS4Ovcg==", "integrity": "sha512-nzkeWeyLA6+1FryzO0aeB6NS8MZ45gnBYeq2VZqfdNbddZEgtpI4XPYdBVxvm9NhcVoJ3tdA1OBnQD9JryoV0Q==",
"engines": { "engines": {
"cordovaDependencies": { "cordovaDependencies": {
"0.1.0": { "0.1.0": {
"cordova": ">=3.0.0" "cordova": ">=3.0.0"
}, },
"3.0.0": { "4.0.0": {
"cordova": ">100" "cordova": ">100"
} }
} }
} }
}, },
"node_modules/cordova-plugin-wkuserscript": { "node_modules/cordova-plugin-wkuserscript": {
"version": "1.0.0", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-wkuserscript/-/cordova-plugin-wkuserscript-1.0.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-wkuserscript/-/cordova-plugin-wkuserscript-1.0.1.tgz",
"integrity": "sha512-g18TohV1T+iWQJImYUCZc44x2ywHTH3ycgEJyxo4WTL9eYm4T7lNkyl1svzQGI97e8W5hQxUqAcmvpVcnWvjSQ==", "integrity": "sha512-qhb2JOFy+XnLIbPubDuAcZyf6fSsrQ2syM8PqAVvW7JJQVR7i64pZDLHmgYQrGN+2pO1fG8EdR2aUp5O0Kx/HA==",
"engines": { "engines": {
"cordovaDependencies": { "cordovaDependencies": {
"3.0.0": { "3.0.0": {
@ -11301,9 +11313,9 @@
} }
}, },
"node_modules/cordova-plugin-wkwebview-cookies": { "node_modules/cordova-plugin-wkwebview-cookies": {
"version": "1.0.0", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-wkwebview-cookies/-/cordova-plugin-wkwebview-cookies-1.0.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-wkwebview-cookies/-/cordova-plugin-wkwebview-cookies-1.0.1.tgz",
"integrity": "sha512-bQRnc/1UNu2XDb6ds+RuAZGA8FM2MuQb4z45J/CaDfjSs60OSvxGVKo3okrM/okYosZqWJFygrPah0MK3lDERQ==", "integrity": "sha512-x984mlj21Newei7UFPTu4N3NJSTBZuuQXkDNJxq8FTGM1RH/YECqYAzk6ekk/regFamj1bCQ3IB8XJeCm5/dhA==",
"engines": { "engines": {
"cordovaDependencies": { "cordovaDependencies": {
"3.0.0": { "3.0.0": {
@ -11341,27 +11353,22 @@
"resolved": "https://registry.npmjs.org/cordova-sqlite-storage-dependencies/-/cordova-sqlite-storage-dependencies-4.0.0.tgz", "resolved": "https://registry.npmjs.org/cordova-sqlite-storage-dependencies/-/cordova-sqlite-storage-dependencies-4.0.0.tgz",
"integrity": "sha512-dTBxYaX/RGzH6+pp49o4sb3FuHCvhrssaKn1XMJ4LL3f9dnvz3rhFK2LdcWrdFkhOLOndnW/azUkbzZd+WWhRA==" "integrity": "sha512-dTBxYaX/RGzH6+pp49o4sb3FuHCvhrssaKn1XMJ4LL3f9dnvz3rhFK2LdcWrdFkhOLOndnW/azUkbzZd+WWhRA=="
}, },
"node_modules/cordova-support-google-services": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/cordova-support-google-services/-/cordova-support-google-services-1.2.1.tgz",
"integrity": "sha512-EnFjKAE9oI2uzyUvEfWpLgTM200nuJVvShaA4yyz9wMKBUN+H/BRG1byd1ibZz3sSihNKi3FxjQPxmmEn6/IfA=="
},
"node_modules/cordova.plugins.diagnostic": { "node_modules/cordova.plugins.diagnostic": {
"version": "5.0.2", "version": "6.1.1",
"resolved": "https://registry.npmjs.org/cordova.plugins.diagnostic/-/cordova.plugins.diagnostic-5.0.2.tgz", "resolved": "https://registry.npmjs.org/cordova.plugins.diagnostic/-/cordova.plugins.diagnostic-6.1.1.tgz",
"integrity": "sha512-H59o7YxJ2/COzvg+jyTpUqX8QoDcvti9dluJ9a+pHumE8lf3meWemwCl0QFa9GH+xgVd6X1Ikj/6P3+DKWd9eg==", "integrity": "sha512-JEc7MEPNDDrLb4RGmIwxoKIQ1AVRbh7OuDI8MTsdRqKFA/fQgdF3tK54uWbICUYBx9bQ0YY4FqNmkO0zkDyx5g==",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"colors": "^1.1.2", "colors": "1.4.0",
"elementtree": "^0.1.6", "elementtree": "^0.1.6",
"minimist": "1.2.0" "minimist": "1.2.0"
}, },
"engines": { "engines": {
"cordovaDependencies": { "cordovaDependencies": {
"4.0.0": { "0.0.1": {
"cordova": ">=7.1.0", "cordova": ">=9.0.0",
"cordova-android": ">=6.3.0", "cordova-android": ">=8.0.0",
"cordova-ios": ">=4.3.0" "cordova-ios": ">=5.0.0"
} }
} }
} }
@ -38822,9 +38829,9 @@
"integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA=="
}, },
"com-darryncampbell-cordova-plugin-intent": { "com-darryncampbell-cordova-plugin-intent": {
"version": "1.3.0", "version": "2.2.0",
"resolved": "https://registry.npmjs.org/com-darryncampbell-cordova-plugin-intent/-/com-darryncampbell-cordova-plugin-intent-1.3.0.tgz", "resolved": "https://registry.npmjs.org/com-darryncampbell-cordova-plugin-intent/-/com-darryncampbell-cordova-plugin-intent-2.2.0.tgz",
"integrity": "sha512-JXslndd4UiRHmirGZrwrHZHczoZ5sxM7zAylm4bPX7ZDwD4FdCHhILgDA8AeaG8wc11e0A7OEAFo0Esgc0M4yA==" "integrity": "sha512-4ESoeYghE9GGuxKi4pnG+6CUJyYjS2j1tOmvlXXEM/9d5aBU47EpWbKKU1gjcfZFM4KCUbyba1NX6xNcH/L/wA=="
}, },
"combined-stream": { "combined-stream": {
"version": "1.0.8", "version": "1.0.8",
@ -39591,9 +39598,9 @@
} }
}, },
"cordova-plugin-advanced-http": { "cordova-plugin-advanced-http": {
"version": "3.1.0", "version": "3.2.2",
"resolved": "https://registry.npmjs.org/cordova-plugin-advanced-http/-/cordova-plugin-advanced-http-3.1.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-advanced-http/-/cordova-plugin-advanced-http-3.2.2.tgz",
"integrity": "sha512-zlTlNJyTttE7TV5vW2WGvHqpbKMDVrr1meZU0fy4y3ObrI/hGk2UDcDNwpZdMfaytNZwDKU4sRgsTgQYdFNBew==" "integrity": "sha512-9djtQuRwWMqCLTNRrtAIlGyRcs2D0AJXOzkedOQ6udlg3IVE58hhxjrFOdKz6WvoJ6w2MNVeRYafYvoWLHFuMA=="
}, },
"cordova-plugin-androidx-adapter": { "cordova-plugin-androidx-adapter": {
"version": "1.1.3", "version": "1.1.3",
@ -39611,9 +39618,9 @@
"integrity": "sha512-RhIBtd5xhD/iLnxjt35jvOae28oNW/wtMZBOmQR3Rf0y4wirvA1bpAZEhBoFqL+rZGhsd6ddOdQXdex1T0DRyQ==" "integrity": "sha512-RhIBtd5xhD/iLnxjt35jvOae28oNW/wtMZBOmQR3Rf0y4wirvA1bpAZEhBoFqL+rZGhsd6ddOdQXdex1T0DRyQ=="
}, },
"cordova-plugin-camera": { "cordova-plugin-camera": {
"version": "5.0.1", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-5.0.1.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-6.0.0.tgz",
"integrity": "sha512-9gXyZvI8u9KzsZuqmB8Yw+uheF+7f+usMAwvOMw7L7pqbykg+bm9US5zjhJbwit3A1cSblgZkpBafe5cFiMcTA==" "integrity": "sha512-FTFKep8HZI/2HkX+Gc/dUACfZGV9+k9waXlgoEOKXOiPPR/1zBw29Mw+adcz4FQUpdWyAgYDxNiaPUnP0P+H2Q=="
}, },
"cordova-plugin-chooser": { "cordova-plugin-chooser": {
"version": "1.3.2", "version": "1.3.2",
@ -39656,9 +39663,9 @@
"integrity": "sha512-yDUG+9ieKVRitq5mGlNxjaZh/MgEhFFIgTIPhqSbUaQ8UuZbawy5mhJAVClqY97q8/rcQtL6dCDa7x2sEtCLcA==" "integrity": "sha512-yDUG+9ieKVRitq5mGlNxjaZh/MgEhFFIgTIPhqSbUaQ8UuZbawy5mhJAVClqY97q8/rcQtL6dCDa7x2sEtCLcA=="
}, },
"cordova-plugin-media": { "cordova-plugin-media": {
"version": "5.0.3", "version": "5.0.4",
"resolved": "https://registry.npmjs.org/cordova-plugin-media/-/cordova-plugin-media-5.0.3.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-media/-/cordova-plugin-media-5.0.4.tgz",
"integrity": "sha512-UQPFlpk1zL4BY44zGi8RVmYCvcKBCN4Dyf8ovxqGYCC8zR1yhbTRWYDdO9vJdERwbfgWV7+z7FMWiSUfqWm9bQ==" "integrity": "sha512-mAqincYqOT5gu5LWyfgJu3qmOq+lhLAKhnOZULpG622FvYiHjjfsoJ/fkI55WwI3FIcHeeyhToGvHXBCNJePZg=="
}, },
"cordova-plugin-media-capture": { "cordova-plugin-media-capture": {
"version": "3.0.3", "version": "3.0.3",
@ -39666,14 +39673,14 @@
"integrity": "sha512-pVQOrNM7VAuVUMXibAlMGIArrftHPrRs4dUCoE+e2HEFUp3LmN3Yj539LjdUxcWmz/A/cHC65m9E3DS56YJhcg==" "integrity": "sha512-pVQOrNM7VAuVUMXibAlMGIArrftHPrRs4dUCoE+e2HEFUp3LmN3Yj539LjdUxcWmz/A/cHC65m9E3DS56YJhcg=="
}, },
"cordova-plugin-network-information": { "cordova-plugin-network-information": {
"version": "2.0.2", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-network-information/-/cordova-plugin-network-information-2.0.2.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-network-information/-/cordova-plugin-network-information-3.0.0.tgz",
"integrity": "sha512-NwO3qDBNL/vJxUxBTPNOA1HvkDf9eTeGH8JSZiwy1jq2W2mJKQEDBwqWkaEQS19Yd/MQTiw0cykxg5D7u4J6cQ==" "integrity": "sha512-bBtP3PxIX8vshsfR0+F6co2e2cFLgjt18yKIdigzMwk6ANudWQ72RB3g2qMPyT6fBDWmUyE1Qd+bKQB/fZtQwQ=="
}, },
"cordova-plugin-prevent-override": { "cordova-plugin-prevent-override": {
"version": "1.0.0", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-prevent-override/-/cordova-plugin-prevent-override-1.0.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-prevent-override/-/cordova-plugin-prevent-override-1.0.1.tgz",
"integrity": "sha512-/+3q5r4K5RahCpiYVmZQBjq10x4jj+6CMjYtZyx9jdMWeV+yFE+ItFcO1NeUAEWd2iHC5YPD0P2tHiHx5kscsw==" "integrity": "sha512-yy1JZ+lXTR33Ai1yloT6wdXJXe0a3LrfgnKORuPZv/QkbiqfIQKjy0R4zRP8qljaJSelF/xv5CgrVt8iS0SkBg=="
}, },
"cordova-plugin-splashscreen": { "cordova-plugin-splashscreen": {
"version": "6.0.0", "version": "6.0.0",
@ -39681,19 +39688,19 @@
"integrity": "sha512-pm4ZtJKQY4bCGXVeIInbGrXilryTevYSKgfvoQJpW9UClOWKAxSsYf2/4G2u1vcn492svOSL42OSa2MhujBWEQ==" "integrity": "sha512-pm4ZtJKQY4bCGXVeIInbGrXilryTevYSKgfvoQJpW9UClOWKAxSsYf2/4G2u1vcn492svOSL42OSa2MhujBWEQ=="
}, },
"cordova-plugin-statusbar": { "cordova-plugin-statusbar": {
"version": "2.4.3", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.4.3.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-3.0.0.tgz",
"integrity": "sha512-ThmXzl6QIKWFXf4wWw7Q/zpB+VKkz3VM958+5A0sXD4jmR++u7KnGttLksXshVwWr6lvGwUebLYtIyXwS4Ovcg==" "integrity": "sha512-nzkeWeyLA6+1FryzO0aeB6NS8MZ45gnBYeq2VZqfdNbddZEgtpI4XPYdBVxvm9NhcVoJ3tdA1OBnQD9JryoV0Q=="
}, },
"cordova-plugin-wkuserscript": { "cordova-plugin-wkuserscript": {
"version": "1.0.0", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-wkuserscript/-/cordova-plugin-wkuserscript-1.0.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-wkuserscript/-/cordova-plugin-wkuserscript-1.0.1.tgz",
"integrity": "sha512-g18TohV1T+iWQJImYUCZc44x2ywHTH3ycgEJyxo4WTL9eYm4T7lNkyl1svzQGI97e8W5hQxUqAcmvpVcnWvjSQ==" "integrity": "sha512-qhb2JOFy+XnLIbPubDuAcZyf6fSsrQ2syM8PqAVvW7JJQVR7i64pZDLHmgYQrGN+2pO1fG8EdR2aUp5O0Kx/HA=="
}, },
"cordova-plugin-wkwebview-cookies": { "cordova-plugin-wkwebview-cookies": {
"version": "1.0.0", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-wkwebview-cookies/-/cordova-plugin-wkwebview-cookies-1.0.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-wkwebview-cookies/-/cordova-plugin-wkwebview-cookies-1.0.1.tgz",
"integrity": "sha512-bQRnc/1UNu2XDb6ds+RuAZGA8FM2MuQb4z45J/CaDfjSs60OSvxGVKo3okrM/okYosZqWJFygrPah0MK3lDERQ==" "integrity": "sha512-x984mlj21Newei7UFPTu4N3NJSTBZuuQXkDNJxq8FTGM1RH/YECqYAzk6ekk/regFamj1bCQ3IB8XJeCm5/dhA=="
}, },
"cordova-serve": { "cordova-serve": {
"version": "4.0.0", "version": "4.0.0",
@ -39720,17 +39727,12 @@
"resolved": "https://registry.npmjs.org/cordova-sqlite-storage-dependencies/-/cordova-sqlite-storage-dependencies-4.0.0.tgz", "resolved": "https://registry.npmjs.org/cordova-sqlite-storage-dependencies/-/cordova-sqlite-storage-dependencies-4.0.0.tgz",
"integrity": "sha512-dTBxYaX/RGzH6+pp49o4sb3FuHCvhrssaKn1XMJ4LL3f9dnvz3rhFK2LdcWrdFkhOLOndnW/azUkbzZd+WWhRA==" "integrity": "sha512-dTBxYaX/RGzH6+pp49o4sb3FuHCvhrssaKn1XMJ4LL3f9dnvz3rhFK2LdcWrdFkhOLOndnW/azUkbzZd+WWhRA=="
}, },
"cordova-support-google-services": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/cordova-support-google-services/-/cordova-support-google-services-1.2.1.tgz",
"integrity": "sha512-EnFjKAE9oI2uzyUvEfWpLgTM200nuJVvShaA4yyz9wMKBUN+H/BRG1byd1ibZz3sSihNKi3FxjQPxmmEn6/IfA=="
},
"cordova.plugins.diagnostic": { "cordova.plugins.diagnostic": {
"version": "5.0.2", "version": "6.1.1",
"resolved": "https://registry.npmjs.org/cordova.plugins.diagnostic/-/cordova.plugins.diagnostic-5.0.2.tgz", "resolved": "https://registry.npmjs.org/cordova.plugins.diagnostic/-/cordova.plugins.diagnostic-6.1.1.tgz",
"integrity": "sha512-H59o7YxJ2/COzvg+jyTpUqX8QoDcvti9dluJ9a+pHumE8lf3meWemwCl0QFa9GH+xgVd6X1Ikj/6P3+DKWd9eg==", "integrity": "sha512-JEc7MEPNDDrLb4RGmIwxoKIQ1AVRbh7OuDI8MTsdRqKFA/fQgdF3tK54uWbICUYBx9bQ0YY4FqNmkO0zkDyx5g==",
"requires": { "requires": {
"colors": "^1.1.2", "colors": "1.4.0",
"elementtree": "^0.1.6", "elementtree": "^0.1.6",
"minimist": "1.2.0" "minimist": "1.2.0"
}, },

View File

@ -85,15 +85,15 @@
"@types/cordova": "0.0.34", "@types/cordova": "0.0.34",
"@types/dom-mediacapture-record": "^1.0.7", "@types/dom-mediacapture-record": "^1.0.7",
"chart.js": "^2.9.4", "chart.js": "^2.9.4",
"com-darryncampbell-cordova-plugin-intent": "^1.3.0", "com-darryncampbell-cordova-plugin-intent": "^2.2.0",
"cordova": "^10.0.0", "cordova": "^10.0.0",
"cordova-android": "^10.1.1", "cordova-android": "^10.1.1",
"cordova-clipboard": "^1.3.0", "cordova-clipboard": "^1.3.0",
"cordova-ios": "^6.2.0", "cordova-ios": "^6.2.0",
"cordova-plugin-add-swift-support": "^2.0.2", "cordova-plugin-add-swift-support": "^2.0.2",
"cordova-plugin-advanced-http": "^3.1.0", "cordova-plugin-advanced-http": "^3.2.2",
"cordova-plugin-badge": "^0.8.8", "cordova-plugin-badge": "^0.8.8",
"cordova-plugin-camera": "^5.0.1", "cordova-plugin-camera": "^6.0.0",
"cordova-plugin-chooser": "^1.3.2", "cordova-plugin-chooser": "^1.3.2",
"cordova-plugin-customurlscheme": "^5.0.2", "cordova-plugin-customurlscheme": "^5.0.2",
"cordova-plugin-device": "^2.0.3", "cordova-plugin-device": "^2.0.3",
@ -102,17 +102,16 @@
"cordova-plugin-geolocation": "^4.1.0", "cordova-plugin-geolocation": "^4.1.0",
"cordova-plugin-globalization": "^1.11.0", "cordova-plugin-globalization": "^1.11.0",
"cordova-plugin-ionic-keyboard": "^2.2.0", "cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-media": "^5.0.3", "cordova-plugin-media": "^5.0.4",
"cordova-plugin-media-capture": "^3.0.3", "cordova-plugin-media-capture": "^3.0.3",
"cordova-plugin-network-information": "^2.0.2", "cordova-plugin-network-information": "^3.0.0",
"cordova-plugin-prevent-override": "^1.0.0", "cordova-plugin-prevent-override": "^1.0.1",
"cordova-plugin-splashscreen": "^6.0.0", "cordova-plugin-splashscreen": "^6.0.0",
"cordova-plugin-statusbar": "^2.4.3", "cordova-plugin-statusbar": "^3.0.0",
"cordova-plugin-wkuserscript": "^1.0.0", "cordova-plugin-wkuserscript": "^1.0.1",
"cordova-plugin-wkwebview-cookies": "^1.0.0", "cordova-plugin-wkwebview-cookies": "^1.0.1",
"cordova-sqlite-storage": "^6.0.0", "cordova-sqlite-storage": "^6.0.0",
"cordova-support-google-services": "^1.2.1", "cordova.plugins.diagnostic": "^6.1.1",
"cordova.plugins.diagnostic": "^5.0.2",
"core-js": "^3.9.1", "core-js": "^3.9.1",
"es6-promise-plugin": "^4.2.2", "es6-promise-plugin": "^4.2.2",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
@ -183,11 +182,14 @@
"ios" "ios"
], ],
"plugins": { "plugins": {
"cordova-plugin-advanced-http": {}, "cordova-plugin-advanced-http": {
"ANDROIDBLACKLISTSECURESOCKETPROTOCOLS": "SSLv3,TLSv1"
},
"cordova-clipboard": {}, "cordova-clipboard": {},
"cordova-plugin-badge": {}, "cordova-plugin-badge": {},
"cordova-plugin-camera": { "cordova-plugin-camera": {
"ANDROID_SUPPORT_V4_VERSION": "27.+" "ANDROID_SUPPORT_V4_VERSION": "27.+",
"ANDROIDX_CORE_VERSION": "1.6.+"
}, },
"cordova-plugin-chooser": {}, "cordova-plugin-chooser": {},
"cordova-plugin-customurlscheme": { "cordova-plugin-customurlscheme": {
@ -229,7 +231,9 @@
"com-darryncampbell-cordova-plugin-intent": {}, "com-darryncampbell-cordova-plugin-intent": {},
"nl.kingsquare.cordova.background-audio": {}, "nl.kingsquare.cordova.background-audio": {},
"cordova.plugins.diagnostic": { "cordova.plugins.diagnostic": {
"ANDROID_SUPPORT_VERSION": "28.+" "ANDROID_SUPPORT_VERSION": "28.+",
"ANDROIDX_VERSION": "1.0.0",
"ANDROIDX_APPCOMPAT_VERSION": "1.3.1"
}, },
"cordova-plugin-globalization": {}, "cordova-plugin-globalization": {},
"@moodlehq/cordova-plugin-file-transfer": {}, "@moodlehq/cordova-plugin-file-transfer": {},

View File

@ -654,17 +654,14 @@ export class CoreAppProvider {
this.logger.debug(`Set status bar color ${color}`); this.logger.debug(`Set status bar color ${color}`);
const useLightText = CoreColors.isWhiteContrastingBetter(color); const useLightText = CoreColors.isWhiteContrastingBetter(color);
const statusBar = StatusBar.instance;
this.isIOS() && statusBar.overlaysWebView(false);
// styleDefault will use white text on iOS when darkmode is on. Force the background to black. // styleDefault will use white text on iOS when darkmode is on. Force the background to black.
if (this.isIOS() && !useLightText && window.matchMedia('(prefers-color-scheme: dark)').matches) { if (this.isIOS() && !useLightText && window.matchMedia('(prefers-color-scheme: dark)').matches) {
statusBar.backgroundColorByHexString('#000000'); StatusBar.backgroundColorByHexString('#000000');
statusBar.styleLightContent(); StatusBar.styleLightContent();
} else { } else {
statusBar.backgroundColorByHexString(color); StatusBar.backgroundColorByHexString(color);
useLightText ? statusBar.styleLightContent() : statusBar.styleDefault(); useLightText ? StatusBar.styleLightContent() : StatusBar.styleDefault();
} }
} }