diff --git a/app/android/gradle.properties b/app/android/gradle.properties index f018a61..475a628 100644 --- a/app/android/gradle.properties +++ b/app/android/gradle.properties @@ -1,3 +1,7 @@ org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError android.useAndroidX=true android.enableJetifier=true +# This builtInKotlin flag was added automatically by Flutter migrator +android.builtInKotlin=false +# This newDsl flag was added automatically by Flutter migrator +android.newDsl=false diff --git a/app/android/gradle/wrapper/gradle-wrapper.properties b/app/android/gradle/wrapper/gradle-wrapper.properties index afa1e8e..74b269f 100644 --- a/app/android/gradle/wrapper/gradle-wrapper.properties +++ b/app/android/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip diff --git a/app/android/settings.gradle.kts b/app/android/settings.gradle.kts index 11662c3..da20e6d 100644 --- a/app/android/settings.gradle.kts +++ b/app/android/settings.gradle.kts @@ -18,8 +18,8 @@ pluginManagement { plugins { id("dev.flutter.flutter-plugin-loader") version "1.0.0" - id("com.android.application") version "8.7.0" apply false - id("org.jetbrains.kotlin.android") version "2.1.0" apply false + id("com.android.application") version "8.11.1" apply false + id("org.jetbrains.kotlin.android") version "2.2.20" apply false } include(":app") diff --git a/app/pubspec.lock b/app/pubspec.lock index 60ba3f8..088ea5d 100644 --- a/app/pubspec.lock +++ b/app/pubspec.lock @@ -117,34 +117,34 @@ packages: dependency: "direct main" description: name: camera - sha256: dfa8fc5a1adaeb95e7a54d86a5bd56f4bb0e035515354c8ac6d262e35cec2ec8 + sha256: "558230d6ce6ccea856b32d390db7e7b557adf4d9320aa614481bd3f2f608953f" url: "https://pub.dev" source: hosted - version: "0.10.6" - camera_android: + version: "0.12.0+2" + camera_android_camerax: dependency: transitive description: - name: camera_android - sha256: "4db8a27da163130d913ab4360297549ead1c7f9a6a88e71c44e5f4d10081a3d4" + name: camera_android_camerax + sha256: cf6c248ef3d3c4846e99e488de9487d95927437e083c396e5fed2c1ece7f93a7 url: "https://pub.dev" source: hosted - version: "0.10.10+6" + version: "0.7.4+1" camera_avfoundation: dependency: transitive description: name: camera_avfoundation - sha256: "951ef122d01ebba68b7a54bfe294e8b25585635a90465c311b2f875ae72c412f" + sha256: "866e9cd8370f8055d005c0413937a52dc1d7a472687f0ee3ce02392955aababa" url: "https://pub.dev" source: hosted - version: "0.9.21+2" + version: "0.10.2" camera_platform_interface: dependency: transitive description: name: camera_platform_interface - sha256: "2f757024a48696ff4814a789b0bd90f5660c0fb25f393ab4564fb483327930e2" + sha256: "4524ca6eb4176b066864036ad4fe02c3e4863e63b77eadc21a5bf56824f43498" url: "https://pub.dev" source: hosted - version: "2.10.0" + version: "2.13.1" camera_web: dependency: transitive description: @@ -157,10 +157,10 @@ packages: dependency: transitive description: name: characters - sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 + sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b url: "https://pub.dev" source: hosted - version: "1.4.0" + version: "1.4.1" checked_yaml: dependency: transitive description: @@ -593,26 +593,26 @@ packages: dependency: transitive description: name: matcher - sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 + sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861 url: "https://pub.dev" source: hosted - version: "0.12.17" + version: "0.12.19" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec + sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b" url: "https://pub.dev" source: hosted - version: "0.11.1" + version: "0.13.0" meta: dependency: transitive description: name: meta - sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" + sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349" url: "https://pub.dev" source: hosted - version: "1.17.0" + version: "1.18.0" mime: dependency: transitive description: @@ -625,10 +625,10 @@ packages: dependency: "direct main" description: name: mobile_scanner - sha256: d234581c090526676fd8fab4ada92f35c6746e3fb4f05a399665d75a399fb760 + sha256: ce3f059ebd6dbfab7292bba0e893e354b46730636820d3c9ef69005ce2d55bce url: "https://pub.dev" source: hosted - version: "5.2.3" + version: "7.4.0" objectbox: dependency: "direct main" description: @@ -894,10 +894,10 @@ packages: dependency: transitive description: name: test_api - sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55 + sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e" url: "https://pub.dev" source: hosted - version: "0.7.7" + version: "0.7.11" timezone: dependency: transitive description: @@ -1131,5 +1131,5 @@ packages: source: hosted version: "3.1.3" sdks: - dart: ">=3.8.0-0 <4.0.0" - flutter: ">=3.29.0" + dart: ">=3.12.0 <4.0.0" + flutter: ">=3.44.0" diff --git a/app/pubspec.yaml b/app/pubspec.yaml index a3837af..5fa2075 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.9.20+1 +version: 0.9.21+1 environment: sdk: ^3.7.0 @@ -56,14 +56,14 @@ dependencies: path_provider: ^2.1.5 # Camera for photo tasks (Android/iOS/Web) - camera: ^0.10.5+9 + camera: ^0.12.0 # File selection (mobile uses file_picker; desktop uses file_selector) file_picker: ^8.0.6 file_selector: ^1.0.3 # Barcode scanning for mobile platforms - mobile_scanner: ^5.0.0 + mobile_scanner: ^7.0.0 # Signature drawing canvas for capturing signatures signature: ^5.5.0 diff --git a/backend/pom.xml b/backend/pom.xml index 6ede0f6..0166274 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -11,7 +11,7 @@ jar - 0.9.20 + 0.9.21 21 21 21 diff --git a/backend/src/main/bundles/prod.bundle b/backend/src/main/bundles/prod.bundle index b250d4f..8c8689d 100644 Binary files a/backend/src/main/bundles/prod.bundle and b/backend/src/main/bundles/prod.bundle differ diff --git a/backend/tsconfig.json b/backend/tsconfig.json index c7a7722..1f3134d 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -6,7 +6,7 @@ { "_version": "9.1", "compilerOptions": { - "ignoreDeprecations": "6.0", + "ignoreDeprecations": "5.0", "sourceMap": true, "jsx": "react-jsx", "inlineSources": true, diff --git a/upload.sh b/upload.sh deleted file mode 100755 index ea23626..0000000 --- a/upload.sh +++ /dev/null @@ -1,16 +0,0 @@ -find . \ - -type f \ - \( -name "*.java" -o -name "*.dart" -o -name "*.md" \ - -o -name "*.yaml" -o -name "*.yml" -o -name "*.properties" \ - -o -name "*.xml" -o -name "*.gradle" \) \ - ! -path "*/build/*" \ - ! -path "*/.gradle/*" \ - ! -path "*/.dart_tool/*" \ - ! -path "*/node_modules/*" \ - ! -path "*/.git/*" \ - | while read file; do - echo "Upload: $file" - curl -s -X POST "http://192.168.180.16:3001/api/v1/document/upload/votianlt" \ - -H "Authorization: Bearer W25V4A8-5E24XSH-KKNJBX3-WN07B7P" \ - -F "file=@$file" - done