diff --git a/android/app/build.gradle b/android/app/build.gradle index 74503a614..a8a62fe2b 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' android { namespace "io.numbersprotocol.capturelite" - compileSdkVersion rootProject.ext.compileSdkVersion + compileSdk rootProject.ext.compileSdkVersion defaultConfig { applicationId "io.numbersprotocol.capturelite" minSdkVersion rootProject.ext.minSdkVersion diff --git a/android/build.gradle b/android/build.gradle index 48d7f7b32..5c5dc3f6a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -7,8 +7,8 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.0.2' - classpath 'com.google.gms:google-services:4.3.15' + classpath 'com.android.tools.build:gradle:8.5.1' + classpath 'com.google.gms:google-services:4.4.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 70d17ef3c..ecc7743f7 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Sun Jun 25 16:40:42 CST 2023 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/android/variables.gradle b/android/variables.gradle index 0f03f51e9..67ddb9bbc 100644 --- a/android/variables.gradle +++ b/android/variables.gradle @@ -1,14 +1,14 @@ ext { minSdkVersion = 28 - compileSdkVersion = 34 - targetSdkVersion = 33 - androidxActivityVersion = '1.7.0' + compileSdkVersion = 35 + targetSdkVersion = 34 + androidxActivityVersion = '1.8.0' androidxAppCompatVersion = '1.6.1' androidxCoordinatorLayoutVersion = '1.2.0' - androidxCoreVersion = '1.10.0' - androidxFragmentVersion = '1.5.6' - coreSplashScreenVersion = '1.0.0' - androidxWebkitVersion = '1.6.1' + androidxCoreVersion = '1.12.0' + androidxFragmentVersion = '1.6.2' + coreSplashScreenVersion = '1.0.1' + androidxWebkitVersion = '1.9.0' junitVersion = '4.13.2' androidxJunitVersion = '1.1.5' androidxEspressoCoreVersion = '3.5.1' diff --git a/ios/App/App/Info.plist b/ios/App/App/Info.plist index c1d4e620a..c312a3427 100644 --- a/ios/App/App/Info.plist +++ b/ios/App/App/Info.plist @@ -44,8 +44,6 @@ Uses Bluetooth to connect and interact with GoPro Camera NSCameraUsageDescription Grant camera permission to allow the app to take images and videos of the unique moments that you want to keep. - NSLocationAlwaysUsageDescription - Always grant GPS permission to allow the app to append location information to your photo automatically so that you or anyone who you share the photo with will know where the photo is taken. NSLocationWhenInUseUsageDescription Grant GPS permission when the app is in use to allow the app to append location information to your photo automatically so that you or anyone who you share the photo with will know where the photo is taken. NSMicrophoneUsageDescription diff --git a/package-lock.json b/package-lock.json index 17c13f527..6a41bfff6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,25 +19,25 @@ "@angular/platform-browser-dynamic": "^14.2.0", "@angular/router": "^14.2.0", "@awesome-cordova-plugins/core": "^5.46.0", - "@capacitor-community/advertising-id": "^5.0.0", - "@capacitor-community/bluetooth-le": "^2.2.3", + "@capacitor-community/advertising-id": "^6.0.0", + "@capacitor-community/bluetooth-le": "^6.0.1", "@capacitor-community/http": "github:numbersprotocol/http#fix-catch-disabled-Local-Network-case-on-iOS", "@capacitor-community/wifi": "github:numbersprotocol/community-capacitor-wifi#capacitor3", - "@capacitor/android": "5.7.5", - "@capacitor/app": "^5.0.3", - "@capacitor/browser": "^5.0.3", - "@capacitor/camera": "^5.0.4", - "@capacitor/clipboard": "^5.0.4", - "@capacitor/core": "5.7.5", - "@capacitor/device": "^5.0.4", - "@capacitor/filesystem": "5.1.1", - "@capacitor/geolocation": "^5.0.4", - "@capacitor/ios": "5.7.5", - "@capacitor/local-notifications": "^5.0.6", - "@capacitor/network": "^5.0.4", - "@capacitor/push-notifications": "^5.0.6", - "@capacitor/share": "^5.0.4", - "@capacitor/splash-screen": "^5.0.4", + "@capacitor/android": "^6.0.0", + "@capacitor/app": "^6.0.0", + "@capacitor/browser": "^6.0.0", + "@capacitor/camera": "^6.0.0", + "@capacitor/clipboard": "^6.0.0", + "@capacitor/core": "^6.0.0", + "@capacitor/device": "^6.0.0", + "@capacitor/filesystem": "^6.0.0", + "@capacitor/geolocation": "^6.0.0", + "@capacitor/ios": "^6.0.0", + "@capacitor/local-notifications": "^6.0.0", + "@capacitor/network": "^6.0.0", + "@capacitor/push-notifications": "^6.0.0", + "@capacitor/share": "^6.0.0", + "@capacitor/splash-screen": "^6.0.0", "@capacitor/storage": "^1.2.4", "@ionic/angular": "^6.2.5", "@ionic/core": "^6.2.5", @@ -92,7 +92,7 @@ "@angular/compiler": "^14.2.0", "@angular/compiler-cli": "^14.2.0", "@angular/language-service": "^14.2.0", - "@capacitor/cli": "5.7.5", + "@capacitor/cli": "^6.0.0", "@ionic/angular-toolkit": "^4.0.0", "@types/hammerjs": "^2.0.41", "@types/jasmine": "^3.8.2", @@ -3134,22 +3134,22 @@ } }, "node_modules/@capacitor-community/advertising-id": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@capacitor-community/advertising-id/-/advertising-id-5.0.0.tgz", - "integrity": "sha512-gCY0Ycxym/hbdOUfJyORaGMtDbLZsLX+u8LHq4vF8iVNqDMjlZSkbFIBXHw5IBTigBOipmHK/pDT6J1U5HR4yQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor-community/advertising-id/-/advertising-id-6.0.0.tgz", + "integrity": "sha512-VNwjdaNufiBvzh6h/2hgE5NGRe259Da+lMxuioz6cBfXg6yWYk6CRSFZCAs2HEuUn1dIv596MY2TMjWdcNLNVw==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor-community/bluetooth-le": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@capacitor-community/bluetooth-le/-/bluetooth-le-2.2.3.tgz", - "integrity": "sha512-bVxff7QsSsJONUWEPB9sbJu3aiuuL3ISvhhitImvy2gawl3D6giNsjJnDPvYjjKs2o3Xbeq/U71UMx11BDR98g==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor-community/bluetooth-le/-/bluetooth-le-6.0.1.tgz", + "integrity": "sha512-ouMSW6ymhB4KAhl2uAcxWNGhMj5onqopQdixGyW8PWOc+KxpCnqkQNZ6MzRuGZUJUfdiJ28p6p64FAoTH2cy+Q==", "dependencies": { - "@types/web-bluetooth": "^0.0.16" + "@types/web-bluetooth": "^0.0.20" }, "peerDependencies": { - "@capacitor/core": "^4.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor-community/http": { @@ -3207,46 +3207,47 @@ } }, "node_modules/@capacitor/android": { - "version": "5.7.5", - "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-5.7.5.tgz", - "integrity": "sha512-VKb9VarGA2hJ8PuLk4EhSq4jvgM+V8JOoNw00WdD6Q4rbgDKSa7WIKTw75sFrNRGiwHSZ99FPvmisJfr1Spk+Q==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-6.1.1.tgz", + "integrity": "sha512-rhO/nH6NJizGV5KizoIoGxCmkos3HnyUzI9TNv8IVy/C8h6lPM5Gt9cxGclb6k0OBTtgv6iJVo654+m4kzv0Qg==", "peerDependencies": { - "@capacitor/core": "^5.7.0" + "@capacitor/core": "^6.1.0" } }, "node_modules/@capacitor/app": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@capacitor/app/-/app-5.0.3.tgz", - "integrity": "sha512-YqGWnD+O8wjNVyIctZCMkVqOr3RhxunLUBbmLpdRc66RzPN7xEk8GAwxY2YV/ehTL054mo3uqovpWvei7rYsEA==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/app/-/app-6.0.0.tgz", + "integrity": "sha512-X5UGd90Jh5p9rmoPyMqFyFWqOypdJgVJhYcM5X1YyDVJJGzmJ5MuYv1+ajj5DW9Qyh+5a3th9WYptdGby8jidA==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/browser": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@capacitor/browser/-/browser-5.0.3.tgz", - "integrity": "sha512-dFvuQRCt6HtkI/ZtOaocCu3aqsvw3r/Z7mvTXhhX9hlj3oUmGDYXFXhZD8AGLXwR2xjcNmGgLhRsHVAzdZpS4A==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/browser/-/browser-6.0.1.tgz", + "integrity": "sha512-KBK0PKfmUj0if+gYWEh0+LG70l1gcLGbDCWJt2Ig3naXHGlrLoWBqVArCgbwBzwJZL+VlwW7iEhAzGOWpg2jhw==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/camera": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/camera/-/camera-5.0.4.tgz", - "integrity": "sha512-Sl4PpoRv/FahCTugjyCZQ8MMH9Tgh5ySr8ZqY59mFKReoCu7xKnp9Ue8D8mzR9nE08gRiUBMqtl5FJbJR2f+Yg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/camera/-/camera-6.0.1.tgz", + "integrity": "sha512-KGfjv8q0Q9OEcpBGqSSZD2yb1KeDe12mlzOOPp4wr6GvcOY0EIvZ0o3KiPXegLVuRZeemz71/lCxPHAQ/5gAiA==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/cli": { - "version": "5.7.5", - "resolved": "https://registry.npmjs.org/@capacitor/cli/-/cli-5.7.5.tgz", - "integrity": "sha512-CEgCXq3NNacS+9EptJXM+Cm915oB8eNPhiTP7ylKsQchrY0CGbeyO5y4A/oYnB/h4f+UiaX3ShlIOljx3+agqw==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@capacitor/cli/-/cli-6.1.1.tgz", + "integrity": "sha512-rsRqEadfnBSUX90RZj59oXvi30bpSusLMfIcgbOIArOloTgfaaWr9R471F6m3gGWF7BhNoskJpZcCgSUsfywwA==", "dev": true, "dependencies": { "@ionic/cli-framework-output": "^2.2.5", "@ionic/utils-fs": "^3.1.6", - "@ionic/utils-subprocess": "^2.1.11", + "@ionic/utils-process": "^2.1.11", + "@ionic/utils-subprocess": "2.1.11", "@ionic/utils-terminal": "^2.3.3", "commander": "^9.3.0", "debug": "^4.3.4", @@ -3266,10 +3267,75 @@ "cap": "bin/capacitor", "capacitor": "bin/capacitor" }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@capacitor/cli/node_modules/@ionic/utils-object": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@ionic/utils-object/-/utils-object-2.1.6.tgz", + "integrity": "sha512-vCl7sl6JjBHFw99CuAqHljYJpcE88YaH2ZW4ELiC/Zwxl5tiwn4kbdP/gxi2OT3MQb1vOtgAmSNRtusvgxI8ww==", + "dev": true, + "dependencies": { + "debug": "^4.0.0", + "tslib": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@capacitor/cli/node_modules/@ionic/utils-process": { + "version": "2.1.12", + "resolved": "https://registry.npmjs.org/@ionic/utils-process/-/utils-process-2.1.12.tgz", + "integrity": "sha512-Jqkgyq7zBs/v/J3YvKtQQiIcxfJyplPgECMWgdO0E1fKrrH8EF0QGHNJ9mJCn6PYe2UtHNS8JJf5G21e09DfYg==", + "dev": true, + "dependencies": { + "@ionic/utils-object": "2.1.6", + "@ionic/utils-terminal": "2.3.5", + "debug": "^4.0.0", + "signal-exit": "^3.0.3", + "tree-kill": "^1.2.2", + "tslib": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@capacitor/cli/node_modules/@ionic/utils-terminal": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@ionic/utils-terminal/-/utils-terminal-2.3.5.tgz", + "integrity": "sha512-3cKScz9Jx2/Pr9ijj1OzGlBDfcmx7OMVBt4+P1uRR0SSW4cm1/y3Mo4OY3lfkuaYifMNBW8Wz6lQHbs1bihr7A==", + "dev": true, + "dependencies": { + "@types/slice-ansi": "^4.0.0", + "debug": "^4.0.0", + "signal-exit": "^3.0.3", + "slice-ansi": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "tslib": "^2.0.1", + "untildify": "^4.0.0", + "wrap-ansi": "^7.0.0" + }, "engines": { "node": ">=16.0.0" } }, + "node_modules/@capacitor/cli/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/@capacitor/cli/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -3279,6 +3345,24 @@ "balanced-match": "^1.0.0" } }, + "node_modules/@capacitor/cli/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@capacitor/cli/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, "node_modules/@capacitor/cli/node_modules/glob": { "version": "9.3.5", "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", @@ -3348,6 +3432,23 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@capacitor/cli/node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, "node_modules/@capacitor/cli/node_modules/xml2js": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", @@ -3371,91 +3472,91 @@ } }, "node_modules/@capacitor/clipboard": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/clipboard/-/clipboard-5.0.4.tgz", - "integrity": "sha512-x15Vdq8h5eh6iSYzrdwQXjtlbRe8kNWDOG9HtGGa8xlKoqDECYS7VqFhrZUXJpJpjWDUDqIwF9JpcSoLRHiHbg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/clipboard/-/clipboard-6.0.0.tgz", + "integrity": "sha512-NjcGr2jncSZy9NM9grePo8zz0hhBYYBYZV71xXjLvJhVY4PSdZD/Sj+4jm0pvlOKSK8vAXYyF6VcWT4/Kh/xmw==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/core": { - "version": "5.7.5", - "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-5.7.5.tgz", - "integrity": "sha512-babBo26lgIyKkAOr/AbPq5wwi9I4uHDP0lBteJq7p4xZElA6tAA8mD3xRH1/4EKmZ4+acYpKmmyegX3zsVh37A==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-6.1.1.tgz", + "integrity": "sha512-b1s4WDMy3Y1/owTG2/XNGCI6G5SDpF2NT1JMAgcShue13fiAuHA+Ans7Wfei6McvR0KdopAE6tMHmDAfL5PM8Q==", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@capacitor/device": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/device/-/device-5.0.4.tgz", - "integrity": "sha512-Zt2eCPfT4oh/VYWURhixj/cRjgpEFD+HgPoldzL9N88ugraqq13p/RKEhUGJ6/tCFVwflVRC5984NsAotm25Jw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/device/-/device-6.0.0.tgz", + "integrity": "sha512-3cV4XcH9pTWcstecyr8rNBQvFCsxYugJdPetk898airCbV1bqZSGF2YLSoPQj4BiDITSlNgwABNwNYMCNzs/gw==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/filesystem": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@capacitor/filesystem/-/filesystem-5.1.1.tgz", - "integrity": "sha512-wq55joyYocsYI0f0UNoDE9TPxI0n4fx+PmejGR5JOYFzrnU8DqcSJ9EREAYAkkoOrmQHrB1vuN9F79XC0PuADw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/filesystem/-/filesystem-6.0.0.tgz", + "integrity": "sha512-GnC4CBfky7fvG9zSV/aQnZaGs6ZJ90AaQorr53z81ArTCqcrSUeBMuCxWmvti9HrdXLhBavyA1UOjvRGObOFjg==", "peerDependencies": { - "@capacitor/core": "^5.1.1" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/geolocation": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/geolocation/-/geolocation-5.0.4.tgz", - "integrity": "sha512-/WXiLBY4hxigWMQp/i/BcFLwGSGVNcnPX4M0tNI11bfUsO6DJ0/dMsSw2xn8a7QxEsKmVUYE5UeOOZNLeUiLHg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/geolocation/-/geolocation-6.0.0.tgz", + "integrity": "sha512-8wrZe6gqfZmsCdvOvrqmezi2Pa8Nz6bQUFbDWsjUKHRzs+qreYNXngzhgKO83GEhHvodiJMnoDJrD2JeQt7FZg==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/ios": { - "version": "5.7.5", - "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-5.7.5.tgz", - "integrity": "sha512-mREcvv4XC9USSAbYmf/2Lmbr52eZjMDpKYwxwi2CKLJXGXNjYfJaHm6jnPordAl6kZdm3Bm/tnx+rYpb9KptGA==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-6.1.1.tgz", + "integrity": "sha512-he6+Fhj6x1dSnOzM98xaPvioOU8MNO+qpodCJwnHE3mIRonTpFutXJK8DP8fnNhjDPk2km9VafLSfOeiZXNv3Q==", "peerDependencies": { - "@capacitor/core": "^5.7.0" + "@capacitor/core": "^6.1.0" } }, "node_modules/@capacitor/local-notifications": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/@capacitor/local-notifications/-/local-notifications-5.0.6.tgz", - "integrity": "sha512-DB+ZBjv3Ri/0mtSzjMxLMHNGfg5m615ewDfQxp++mu7pYUM1RkxfSiigw73+PlZXDow1YNQJRlzTkwEKs6Pf+g==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/local-notifications/-/local-notifications-6.0.0.tgz", + "integrity": "sha512-a/g/ZlPgaBXue374oNzGvvNZWNpnclfcLzfE/P/PjhHxdHsM7J3OK0IfmjrEsRiON4AEIga+dkHi5yBjNAHCFw==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/network": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/network/-/network-5.0.4.tgz", - "integrity": "sha512-ELYVp5s4KzhFomjh/m/vxtH6h2xrrxZKHfkKxEPPH+IhW3Xn4L4bLjyKwipdsugyhJp31h2DjxcfYXY3aq/UzQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/network/-/network-6.0.1.tgz", + "integrity": "sha512-j+C1khUchNVol3HQGOhHKRAQ3Sc4DumzF8YVJqbkAkfOMHLWr/9g2H/P61yzqEr5kcidpOgWbBwQugHRv7o+7g==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/push-notifications": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/@capacitor/push-notifications/-/push-notifications-5.0.6.tgz", - "integrity": "sha512-o4/EcP13XduazhJkoVWEVrRD07YcqT9Uz0pQ48SItRNjtgDhcQW1vAEo6tSL6FVA5NkxNhJikk8TUeXobgOhEg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/push-notifications/-/push-notifications-6.0.1.tgz", + "integrity": "sha512-NFVAnmBsyuTFScTMUrgOr3EKnCl9etGeXignC2Y5QsOoqjT+fhVhIUco9BR7Bi48JGdvK/evqzwt36LMF82bBw==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/share": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/share/-/share-5.0.4.tgz", - "integrity": "sha512-Owkg6xmpWAoUZxu+joc+L5PxrWdGR/nAhKYGb2mVenf0Fljm1kwjKKJRySLmaO4uHiDD2JVwV2azV2w6ZC6DTg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/share/-/share-6.0.1.tgz", + "integrity": "sha512-KQev3omYZ5hgjoZA+NdFZTuFyu1dd/ZIYkE0RnLBB11ZmFEmGRSCYdYtOyqkVxGU1n6FDDqgPPy13CvAZKWNPQ==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/splash-screen": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/splash-screen/-/splash-screen-5.0.4.tgz", - "integrity": "sha512-gWV6mSIDyT+4oSC7NKvCSHdBhDIZi8JK7xS/iknkL8bLTZp6/My/vvA+67fRNvmELzGrk3MmbGhLdLoLnsd5dA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/splash-screen/-/splash-screen-6.0.1.tgz", + "integrity": "sha512-ndsqq335Mb6NxDrcXsT0PVwomo/UrDN4ykqpu8wY8F3HT4vbr8Hojh5PLqtlTy6TCIIIen58fkEgIoyGPsPSaw==", "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^6.0.0" } }, "node_modules/@capacitor/storage": { @@ -5730,9 +5831,9 @@ "dev": true }, "node_modules/@types/web-bluetooth": { - "version": "0.0.16", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz", - "integrity": "sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==" + "version": "0.0.20", + "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz", + "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==" }, "node_modules/@types/ws": { "version": "8.5.3", @@ -26370,16 +26471,16 @@ } }, "@capacitor-community/advertising-id": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@capacitor-community/advertising-id/-/advertising-id-5.0.0.tgz", - "integrity": "sha512-gCY0Ycxym/hbdOUfJyORaGMtDbLZsLX+u8LHq4vF8iVNqDMjlZSkbFIBXHw5IBTigBOipmHK/pDT6J1U5HR4yQ==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor-community/advertising-id/-/advertising-id-6.0.0.tgz", + "integrity": "sha512-VNwjdaNufiBvzh6h/2hgE5NGRe259Da+lMxuioz6cBfXg6yWYk6CRSFZCAs2HEuUn1dIv596MY2TMjWdcNLNVw==" }, "@capacitor-community/bluetooth-le": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@capacitor-community/bluetooth-le/-/bluetooth-le-2.2.3.tgz", - "integrity": "sha512-bVxff7QsSsJONUWEPB9sbJu3aiuuL3ISvhhitImvy2gawl3D6giNsjJnDPvYjjKs2o3Xbeq/U71UMx11BDR98g==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor-community/bluetooth-le/-/bluetooth-le-6.0.1.tgz", + "integrity": "sha512-ouMSW6ymhB4KAhl2uAcxWNGhMj5onqopQdixGyW8PWOc+KxpCnqkQNZ6MzRuGZUJUfdiJ28p6p64FAoTH2cy+Q==", "requires": { - "@types/web-bluetooth": "^0.0.16" + "@types/web-bluetooth": "^0.0.20" } }, "@capacitor-community/http": { @@ -26425,34 +26526,35 @@ } }, "@capacitor/android": { - "version": "5.7.5", - "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-5.7.5.tgz", - "integrity": "sha512-VKb9VarGA2hJ8PuLk4EhSq4jvgM+V8JOoNw00WdD6Q4rbgDKSa7WIKTw75sFrNRGiwHSZ99FPvmisJfr1Spk+Q==" + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-6.1.1.tgz", + "integrity": "sha512-rhO/nH6NJizGV5KizoIoGxCmkos3HnyUzI9TNv8IVy/C8h6lPM5Gt9cxGclb6k0OBTtgv6iJVo654+m4kzv0Qg==" }, "@capacitor/app": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@capacitor/app/-/app-5.0.3.tgz", - "integrity": "sha512-YqGWnD+O8wjNVyIctZCMkVqOr3RhxunLUBbmLpdRc66RzPN7xEk8GAwxY2YV/ehTL054mo3uqovpWvei7rYsEA==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/app/-/app-6.0.0.tgz", + "integrity": "sha512-X5UGd90Jh5p9rmoPyMqFyFWqOypdJgVJhYcM5X1YyDVJJGzmJ5MuYv1+ajj5DW9Qyh+5a3th9WYptdGby8jidA==" }, "@capacitor/browser": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@capacitor/browser/-/browser-5.0.3.tgz", - "integrity": "sha512-dFvuQRCt6HtkI/ZtOaocCu3aqsvw3r/Z7mvTXhhX9hlj3oUmGDYXFXhZD8AGLXwR2xjcNmGgLhRsHVAzdZpS4A==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/browser/-/browser-6.0.1.tgz", + "integrity": "sha512-KBK0PKfmUj0if+gYWEh0+LG70l1gcLGbDCWJt2Ig3naXHGlrLoWBqVArCgbwBzwJZL+VlwW7iEhAzGOWpg2jhw==" }, "@capacitor/camera": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/camera/-/camera-5.0.4.tgz", - "integrity": "sha512-Sl4PpoRv/FahCTugjyCZQ8MMH9Tgh5ySr8ZqY59mFKReoCu7xKnp9Ue8D8mzR9nE08gRiUBMqtl5FJbJR2f+Yg==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/camera/-/camera-6.0.1.tgz", + "integrity": "sha512-KGfjv8q0Q9OEcpBGqSSZD2yb1KeDe12mlzOOPp4wr6GvcOY0EIvZ0o3KiPXegLVuRZeemz71/lCxPHAQ/5gAiA==" }, "@capacitor/cli": { - "version": "5.7.5", - "resolved": "https://registry.npmjs.org/@capacitor/cli/-/cli-5.7.5.tgz", - "integrity": "sha512-CEgCXq3NNacS+9EptJXM+Cm915oB8eNPhiTP7ylKsQchrY0CGbeyO5y4A/oYnB/h4f+UiaX3ShlIOljx3+agqw==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@capacitor/cli/-/cli-6.1.1.tgz", + "integrity": "sha512-rsRqEadfnBSUX90RZj59oXvi30bpSusLMfIcgbOIArOloTgfaaWr9R471F6m3gGWF7BhNoskJpZcCgSUsfywwA==", "dev": true, "requires": { "@ionic/cli-framework-output": "^2.2.5", "@ionic/utils-fs": "^3.1.6", - "@ionic/utils-subprocess": "^2.1.11", + "@ionic/utils-process": "^2.1.11", + "@ionic/utils-subprocess": "2.1.11", "@ionic/utils-terminal": "^2.3.3", "commander": "^9.3.0", "debug": "^4.3.4", @@ -26469,6 +26571,56 @@ "xml2js": "^0.5.0" }, "dependencies": { + "@ionic/utils-object": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@ionic/utils-object/-/utils-object-2.1.6.tgz", + "integrity": "sha512-vCl7sl6JjBHFw99CuAqHljYJpcE88YaH2ZW4ELiC/Zwxl5tiwn4kbdP/gxi2OT3MQb1vOtgAmSNRtusvgxI8ww==", + "dev": true, + "requires": { + "debug": "^4.0.0", + "tslib": "^2.0.1" + } + }, + "@ionic/utils-process": { + "version": "2.1.12", + "resolved": "https://registry.npmjs.org/@ionic/utils-process/-/utils-process-2.1.12.tgz", + "integrity": "sha512-Jqkgyq7zBs/v/J3YvKtQQiIcxfJyplPgECMWgdO0E1fKrrH8EF0QGHNJ9mJCn6PYe2UtHNS8JJf5G21e09DfYg==", + "dev": true, + "requires": { + "@ionic/utils-object": "2.1.6", + "@ionic/utils-terminal": "2.3.5", + "debug": "^4.0.0", + "signal-exit": "^3.0.3", + "tree-kill": "^1.2.2", + "tslib": "^2.0.1" + } + }, + "@ionic/utils-terminal": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@ionic/utils-terminal/-/utils-terminal-2.3.5.tgz", + "integrity": "sha512-3cKScz9Jx2/Pr9ijj1OzGlBDfcmx7OMVBt4+P1uRR0SSW4cm1/y3Mo4OY3lfkuaYifMNBW8Wz6lQHbs1bihr7A==", + "dev": true, + "requires": { + "@types/slice-ansi": "^4.0.0", + "debug": "^4.0.0", + "signal-exit": "^3.0.3", + "slice-ansi": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "tslib": "^2.0.1", + "untildify": "^4.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, "brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -26478,6 +26630,21 @@ "balanced-match": "^1.0.0" } }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, "glob": { "version": "9.3.5", "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", @@ -26520,6 +26687,17 @@ "glob": "^9.2.0" } }, + "slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + } + }, "xml2js": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", @@ -26539,62 +26717,62 @@ } }, "@capacitor/clipboard": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/clipboard/-/clipboard-5.0.4.tgz", - "integrity": "sha512-x15Vdq8h5eh6iSYzrdwQXjtlbRe8kNWDOG9HtGGa8xlKoqDECYS7VqFhrZUXJpJpjWDUDqIwF9JpcSoLRHiHbg==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/clipboard/-/clipboard-6.0.0.tgz", + "integrity": "sha512-NjcGr2jncSZy9NM9grePo8zz0hhBYYBYZV71xXjLvJhVY4PSdZD/Sj+4jm0pvlOKSK8vAXYyF6VcWT4/Kh/xmw==" }, "@capacitor/core": { - "version": "5.7.5", - "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-5.7.5.tgz", - "integrity": "sha512-babBo26lgIyKkAOr/AbPq5wwi9I4uHDP0lBteJq7p4xZElA6tAA8mD3xRH1/4EKmZ4+acYpKmmyegX3zsVh37A==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-6.1.1.tgz", + "integrity": "sha512-b1s4WDMy3Y1/owTG2/XNGCI6G5SDpF2NT1JMAgcShue13fiAuHA+Ans7Wfei6McvR0KdopAE6tMHmDAfL5PM8Q==", "requires": { "tslib": "^2.1.0" } }, "@capacitor/device": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/device/-/device-5.0.4.tgz", - "integrity": "sha512-Zt2eCPfT4oh/VYWURhixj/cRjgpEFD+HgPoldzL9N88ugraqq13p/RKEhUGJ6/tCFVwflVRC5984NsAotm25Jw==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/device/-/device-6.0.0.tgz", + "integrity": "sha512-3cV4XcH9pTWcstecyr8rNBQvFCsxYugJdPetk898airCbV1bqZSGF2YLSoPQj4BiDITSlNgwABNwNYMCNzs/gw==" }, "@capacitor/filesystem": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@capacitor/filesystem/-/filesystem-5.1.1.tgz", - "integrity": "sha512-wq55joyYocsYI0f0UNoDE9TPxI0n4fx+PmejGR5JOYFzrnU8DqcSJ9EREAYAkkoOrmQHrB1vuN9F79XC0PuADw==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/filesystem/-/filesystem-6.0.0.tgz", + "integrity": "sha512-GnC4CBfky7fvG9zSV/aQnZaGs6ZJ90AaQorr53z81ArTCqcrSUeBMuCxWmvti9HrdXLhBavyA1UOjvRGObOFjg==" }, "@capacitor/geolocation": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/geolocation/-/geolocation-5.0.4.tgz", - "integrity": "sha512-/WXiLBY4hxigWMQp/i/BcFLwGSGVNcnPX4M0tNI11bfUsO6DJ0/dMsSw2xn8a7QxEsKmVUYE5UeOOZNLeUiLHg==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/geolocation/-/geolocation-6.0.0.tgz", + "integrity": "sha512-8wrZe6gqfZmsCdvOvrqmezi2Pa8Nz6bQUFbDWsjUKHRzs+qreYNXngzhgKO83GEhHvodiJMnoDJrD2JeQt7FZg==" }, "@capacitor/ios": { - "version": "5.7.5", - "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-5.7.5.tgz", - "integrity": "sha512-mREcvv4XC9USSAbYmf/2Lmbr52eZjMDpKYwxwi2CKLJXGXNjYfJaHm6jnPordAl6kZdm3Bm/tnx+rYpb9KptGA==" + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-6.1.1.tgz", + "integrity": "sha512-he6+Fhj6x1dSnOzM98xaPvioOU8MNO+qpodCJwnHE3mIRonTpFutXJK8DP8fnNhjDPk2km9VafLSfOeiZXNv3Q==" }, "@capacitor/local-notifications": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/@capacitor/local-notifications/-/local-notifications-5.0.6.tgz", - "integrity": "sha512-DB+ZBjv3Ri/0mtSzjMxLMHNGfg5m615ewDfQxp++mu7pYUM1RkxfSiigw73+PlZXDow1YNQJRlzTkwEKs6Pf+g==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/local-notifications/-/local-notifications-6.0.0.tgz", + "integrity": "sha512-a/g/ZlPgaBXue374oNzGvvNZWNpnclfcLzfE/P/PjhHxdHsM7J3OK0IfmjrEsRiON4AEIga+dkHi5yBjNAHCFw==" }, "@capacitor/network": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/network/-/network-5.0.4.tgz", - "integrity": "sha512-ELYVp5s4KzhFomjh/m/vxtH6h2xrrxZKHfkKxEPPH+IhW3Xn4L4bLjyKwipdsugyhJp31h2DjxcfYXY3aq/UzQ==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/network/-/network-6.0.1.tgz", + "integrity": "sha512-j+C1khUchNVol3HQGOhHKRAQ3Sc4DumzF8YVJqbkAkfOMHLWr/9g2H/P61yzqEr5kcidpOgWbBwQugHRv7o+7g==" }, "@capacitor/push-notifications": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/@capacitor/push-notifications/-/push-notifications-5.0.6.tgz", - "integrity": "sha512-o4/EcP13XduazhJkoVWEVrRD07YcqT9Uz0pQ48SItRNjtgDhcQW1vAEo6tSL6FVA5NkxNhJikk8TUeXobgOhEg==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/push-notifications/-/push-notifications-6.0.1.tgz", + "integrity": "sha512-NFVAnmBsyuTFScTMUrgOr3EKnCl9etGeXignC2Y5QsOoqjT+fhVhIUco9BR7Bi48JGdvK/evqzwt36LMF82bBw==" }, "@capacitor/share": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/share/-/share-5.0.4.tgz", - "integrity": "sha512-Owkg6xmpWAoUZxu+joc+L5PxrWdGR/nAhKYGb2mVenf0Fljm1kwjKKJRySLmaO4uHiDD2JVwV2azV2w6ZC6DTg==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/share/-/share-6.0.1.tgz", + "integrity": "sha512-KQev3omYZ5hgjoZA+NdFZTuFyu1dd/ZIYkE0RnLBB11ZmFEmGRSCYdYtOyqkVxGU1n6FDDqgPPy13CvAZKWNPQ==" }, "@capacitor/splash-screen": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@capacitor/splash-screen/-/splash-screen-5.0.4.tgz", - "integrity": "sha512-gWV6mSIDyT+4oSC7NKvCSHdBhDIZi8JK7xS/iknkL8bLTZp6/My/vvA+67fRNvmELzGrk3MmbGhLdLoLnsd5dA==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/splash-screen/-/splash-screen-6.0.1.tgz", + "integrity": "sha512-ndsqq335Mb6NxDrcXsT0PVwomo/UrDN4ykqpu8wY8F3HT4vbr8Hojh5PLqtlTy6TCIIIen58fkEgIoyGPsPSaw==" }, "@capacitor/storage": { "version": "1.2.4", @@ -28238,9 +28416,9 @@ "dev": true }, "@types/web-bluetooth": { - "version": "0.0.16", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz", - "integrity": "sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==" + "version": "0.0.20", + "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz", + "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==" }, "@types/ws": { "version": "8.5.3", diff --git a/package.json b/package.json index bef79c88e..c7998b7aa 100644 --- a/package.json +++ b/package.json @@ -30,25 +30,25 @@ "@angular/platform-browser-dynamic": "^14.2.0", "@angular/router": "^14.2.0", "@awesome-cordova-plugins/core": "^5.46.0", - "@capacitor-community/advertising-id": "^5.0.0", - "@capacitor-community/bluetooth-le": "^2.2.3", + "@capacitor-community/advertising-id": "^6.0.0", + "@capacitor-community/bluetooth-le": "^6.0.1", "@capacitor-community/http": "github:numbersprotocol/http#fix-catch-disabled-Local-Network-case-on-iOS", "@capacitor-community/wifi": "github:numbersprotocol/community-capacitor-wifi#capacitor3", - "@capacitor/android": "5.7.5", - "@capacitor/app": "^5.0.3", - "@capacitor/browser": "^5.0.3", - "@capacitor/camera": "^5.0.4", - "@capacitor/clipboard": "^5.0.4", - "@capacitor/core": "5.7.5", - "@capacitor/device": "^5.0.4", - "@capacitor/filesystem": "5.1.1", - "@capacitor/geolocation": "^5.0.4", - "@capacitor/ios": "5.7.5", - "@capacitor/local-notifications": "^5.0.6", - "@capacitor/network": "^5.0.4", - "@capacitor/push-notifications": "^5.0.6", - "@capacitor/share": "^5.0.4", - "@capacitor/splash-screen": "^5.0.4", + "@capacitor/android": "^6.0.0", + "@capacitor/app": "^6.0.0", + "@capacitor/browser": "^6.0.0", + "@capacitor/camera": "^6.0.0", + "@capacitor/clipboard": "^6.0.0", + "@capacitor/core": "^6.0.0", + "@capacitor/device": "^6.0.0", + "@capacitor/filesystem": "^6.0.0", + "@capacitor/geolocation": "^6.0.0", + "@capacitor/ios": "^6.0.0", + "@capacitor/local-notifications": "^6.0.0", + "@capacitor/network": "^6.0.0", + "@capacitor/push-notifications": "^6.0.0", + "@capacitor/share": "^6.0.0", + "@capacitor/splash-screen": "^6.0.0", "@capacitor/storage": "^1.2.4", "@ionic/angular": "^6.2.5", "@ionic/core": "^6.2.5", @@ -104,7 +104,7 @@ "@angular/compiler": "^14.2.0", "@angular/compiler-cli": "^14.2.0", "@angular/language-service": "^14.2.0", - "@capacitor/cli": "5.7.5", + "@capacitor/cli": "^6.0.0", "@ionic/angular-toolkit": "^4.0.0", "@types/hammerjs": "^2.0.41", "@types/jasmine": "^3.8.2", diff --git a/src/app/features/home/custom-camera/custom-camera.service.ts b/src/app/features/home/custom-camera/custom-camera.service.ts index e5f4611e9..18556bddf 100644 --- a/src/app/features/home/custom-camera/custom-camera.service.ts +++ b/src/app/features/home/custom-camera/custom-camera.service.ts @@ -110,7 +110,7 @@ export class CustomCameraService { const readFileResult = await this.filesystemPlugin.readFile({ path: filePath, }); - const base64 = readFileResult.data; + const base64 = readFileResult.data as string; const mimeType = type === 'image' ? 'image/jpeg' : 'video/mp4'; diff --git a/src/app/shared/capacitor-plugins/mock-filesystem-plugin.ts b/src/app/shared/capacitor-plugins/mock-filesystem-plugin.ts index 0d6970f3b..7f22b05d9 100644 --- a/src/app/shared/capacitor-plugins/mock-filesystem-plugin.ts +++ b/src/app/shared/capacitor-plugins/mock-filesystem-plugin.ts @@ -27,7 +27,11 @@ import { StatResult, } from '@capacitor/filesystem'; import { groupBy } from 'lodash-es'; -import { base64ToString, stringToBase64 } from '../../utils/encoding/encoding'; +import { + base64ToString, + blobToBase64, + stringToBase64, +} from '../../utils/encoding/encoding'; export class MockFilesystemPlugin implements FilesystemPlugin { private readonly files = new Map(); @@ -55,7 +59,9 @@ export class MockFilesystemPlugin implements FilesystemPlugin { async writeFile(options: FileWriteOptions): Promise { const path = `${options.directory ?? ''}/${options.path}`; - if (!options.encoding) { + if (options.data instanceof Blob) { + this.files.set(path, await blobToBase64(options.data)); + } else if (!options.encoding) { this.files.set(path, options.data); } else { this.files.set(path, stringToBase64(options.data)); @@ -123,10 +129,14 @@ export class MockFilesystemPlugin implements FilesystemPlugin { throw new Error('Method not implemented.'); } - addListener( + async addListener( _eventName: string, _listenerFunc: ProgressListener - ): Promise & PluginListenerHandle { + ): Promise { + throw new Error('Method not implemented.'); + } + + async removeAllListeners(): Promise { throw new Error('Method not implemented.'); } } diff --git a/src/app/shared/capacitor-plugins/mock-local-notifications-plugin.ts b/src/app/shared/capacitor-plugins/mock-local-notifications-plugin.ts index afd644d64..8ab9a1cfc 100644 --- a/src/app/shared/capacitor-plugins/mock-local-notifications-plugin.ts +++ b/src/app/shared/capacitor-plugins/mock-local-notifications-plugin.ts @@ -2,17 +2,18 @@ import { PluginListenerHandle } from '@capacitor/core'; import { + DeliveredNotifications, + LocalNotificationSchema as LocalNotification, ActionPerformed as LocalNotificationActionPerformed, ActionType as LocalNotificationActionType, - Channel as NotificationChannel, - DeliveredNotifications, EnabledResult as LocalNotificationEnabledResult, - ListChannelsResult as NotificationChannelList, - LocalNotificationSchema as LocalNotification, - LocalNotificationsPlugin, PendingResult as LocalNotificationPendingList, - PermissionStatus, ScheduleResult as LocalNotificationScheduleResult, + LocalNotificationsPlugin, + Channel as NotificationChannel, + ListChannelsResult as NotificationChannelList, + PermissionStatus, + SettingsPermissionStatus, } from '@capacitor/local-notifications'; export class MockLocalNotificationsPlugin implements LocalNotificationsPlugin { @@ -64,6 +65,14 @@ export class MockLocalNotificationsPlugin implements LocalNotificationsPlugin { return { display: 'granted' }; } + async changeExactNotificationSetting(): Promise { + throw new Error('Method not implemented.'); + } + + async checkExactNotificationSetting(): Promise { + throw new Error('Method not implemented.'); + } + addListener( eventName: 'localNotificationReceived', listenerFunc: (notification: LocalNotification) => void diff --git a/src/app/shared/database/table/capacitor-filesystem-table/capacitor-filesystem-table.ts b/src/app/shared/database/table/capacitor-filesystem-table/capacitor-filesystem-table.ts index 35ca69056..b99d2ea02 100644 --- a/src/app/shared/database/table/capacitor-filesystem-table/capacitor-filesystem-table.ts +++ b/src/app/shared/database/table/capacitor-filesystem-table/capacitor-filesystem-table.ts @@ -91,7 +91,7 @@ export class CapacitorFilesystemTable implements Table { path: `${this.rootDir}/${this.id}.json`, encoding: FilesystemEncoding.UTF8, }); - this.tuples$.next(JSON.parse(result.data)); + this.tuples$.next(JSON.parse(result.data as string)); } async insert( diff --git a/src/app/shared/media/media-store/media-store.service.ts b/src/app/shared/media/media-store/media-store.service.ts index 0cc0327bb..1ea6eb923 100644 --- a/src/app/shared/media/media-store/media-store.service.ts +++ b/src/app/shared/media/media-store/media-store.service.ts @@ -12,7 +12,7 @@ import { defer, merge } from 'rxjs'; import { concatMap, map } from 'rxjs/operators'; import { sha256WithBase64 } from '../../../utils/crypto/crypto'; import { base64ToBlob, blobToBase64 } from '../../../utils/encoding/encoding'; -import { fromExtension, MimeType, toExtension } from '../../../utils/mime-type'; +import { MimeType, fromExtension, toExtension } from '../../../utils/mime-type'; import { toDataUrl } from '../../../utils/url'; import { FILESYSTEM_PLUGIN } from '../../capacitor-plugins/capacitor-plugins.module'; import { Database } from '../../database/database.service'; @@ -80,7 +80,7 @@ export class MediaStore { directory: this.directory, path: `${this.rootDir}/${index}.${extension}`, }); - return result.data; + return result.data as string; } async write(