2
0
mirror of https://github.com/inventree/inventree-app.git synced 2026-03-11 04:34:29 +00:00

Update barcode scanner (#779)

This commit is contained in:
Oliver
2026-02-27 18:03:06 +11:00
committed by GitHub
parent 04f98559fc
commit a88a102a50
5 changed files with 22 additions and 12 deletions

View File

@@ -30,7 +30,8 @@ if (keystorePropertiesFile.exists()) {
android { android {
namespace "inventree.inventree_app" namespace "inventree.inventree_app"
compileSdkVersion 35 ndkVersion "26.3.11579264"
compileSdkVersion 36
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_17 sourceCompatibility JavaVersion.VERSION_17
@@ -56,7 +57,7 @@ android {
defaultConfig { defaultConfig {
applicationId "inventree.inventree_app" applicationId "inventree.inventree_app"
minSdkVersion 21 minSdkVersion 23
targetSdkVersion 35 targetSdkVersion 35
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
versionName flutterVersionName versionName flutterVersionName

View File

@@ -19,7 +19,7 @@ pluginManagement {
plugins { plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.6.0" apply false id "com.android.application" version "8.6.0" apply false
id "org.jetbrains.kotlin.android" version "1.9.25" apply false id "org.jetbrains.kotlin.android" version "2.3.10" apply false
} }
include ":app" include ":app"

1
ios/.gitignore vendored
View File

@@ -22,6 +22,7 @@ Flutter/Generated.xcconfig
Flutter/ephemeral/ Flutter/ephemeral/
Flutter/app.flx Flutter/app.flx
Flutter/app.zip Flutter/app.zip
Flutter/ephemeral/
Flutter/flutter_assets/ Flutter/flutter_assets/
Flutter/flutter_export_environment.sh Flutter/flutter_export_environment.sh
ServiceDefinitions.json ServiceDefinitions.json

View File

@@ -637,6 +637,14 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.5" version: "1.0.5"
jni:
dependency: transitive
description:
name: jni
sha256: d2c361082d554d4593c3012e26f6b188f902acd291330f13d6427641a92b3da1
url: "https://pub.dev"
source: hosted
version: "0.14.2"
js: js:
dependency: transitive dependency: transitive
description: description:
@@ -737,10 +745,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: mobile_scanner name: mobile_scanner
sha256: "54005bdea7052d792d35b4fef0f84ec5ddc3a844b250ecd48dc192fb9b4ebc95" sha256: c92c26bf2231695b6d3477c8dcf435f51e28f87b1745966b1fe4c47a286171ce
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "7.0.1" version: "7.2.0"
node_preamble: node_preamble:
dependency: transitive dependency: transitive
description: description:
@@ -921,18 +929,18 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: sentry name: sentry
sha256: "599701ca0693a74da361bc780b0752e1abc98226cf5095f6b069648116c896bb" sha256: "605ad1f6f1ae5b72018cbe8fc20f490fa3bd53e58882e5579566776030d8c8c1"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "8.14.2" version: "9.14.0"
sentry_flutter: sentry_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
name: sentry_flutter name: sentry_flutter
sha256: "5ba2cf40646a77d113b37a07bd69f61bb3ec8a73cbabe5537b05a7c89d2656f8" sha256: "7fd0fb80050c1f6a77ae185bda997a76d384326d6777cf5137a6c38952c4ac7d"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "8.14.2" version: "9.14.0"
shared_preferences: shared_preferences:
dependency: transitive dependency: transitive
description: description:

View File

@@ -28,19 +28,19 @@ dependencies:
flutter_markdown: ^0.6.19 # Rendering markdown flutter_markdown: ^0.6.19 # Rendering markdown
flutter_overlay_loader: ^2.0.0 # Overlay screen support flutter_overlay_loader: ^2.0.0 # Overlay screen support
flutter_speed_dial: ^6.2.0 # Speed dial / FAB implementation flutter_speed_dial: ^6.2.0 # Speed dial / FAB implementation
flutter_tabler_icons: ^1.43.0 flutter_tabler_icons: ^1.43.0 # Tabler icons
http: ^1.4.0 http: ^1.4.0
image_picker: ^1.1.2 # Select or take photos image_picker: ^1.1.2 # Select or take photos
infinite_scroll_pagination: ^4.0.0 # Let the server do all the work! infinite_scroll_pagination: ^4.0.0 # Let the server do all the work!
intl: ^0.20.2 intl: ^0.20.2
mobile_scanner: ^7.0.1 # Barcode scanning support mobile_scanner: ^7.2.0 # Barcode scanning support
one_context: ^4.0.0 # Dialogs without requiring context one_context: ^4.0.0 # Dialogs without requiring context
open_filex: ^4.7.0 # Open local files open_filex: ^4.7.0 # Open local files
package_info_plus: ^8.1.1 # App information introspection package_info_plus: ^8.1.1 # App information introspection
path: ^1.9.0 path: ^1.9.0
path_provider: ^2.1.5 # Local file storage path_provider: ^2.1.5 # Local file storage
sembast: ^3.6.0 # NoSQL data storage sembast: ^3.6.0 # NoSQL data storage
sentry_flutter: 8.14.2 # Error reporting sentry_flutter: ^9.14.0 # Error reporting
url_launcher: ^6.3.1 # Open link in system browser url_launcher: ^6.3.1 # Open link in system browser
wakelock_plus: ^1.3.2 # Prevent device from sleeping wakelock_plus: ^1.3.2 # Prevent device from sleeping