mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-27 21:16:48 +00:00
Update packages
- Trying to find source of null check bug
This commit is contained in:
parent
139b166a5e
commit
c78dd7cfa5
@ -91,7 +91,7 @@ class InvenTreeFileService extends FileService {
|
||||
_client = client ?? HttpClient();
|
||||
|
||||
if (_client != null) {
|
||||
_client?.badCertificateCallback = (cert, host, port) {
|
||||
_client!.badCertificateCallback = (cert, host, port) {
|
||||
print("BAD CERTIFICATE CALLBACK FOR IMAGE REQUEST");
|
||||
return !strictHttps;
|
||||
};
|
||||
|
@ -69,6 +69,10 @@ class BarcodeHandler {
|
||||
|
||||
print("Scanned barcode data: ${barcode}");
|
||||
|
||||
if (barcode.isEmpty) {
|
||||
return;
|
||||
}
|
||||
|
||||
var response = await InvenTreeAPI().post(
|
||||
url,
|
||||
body: {
|
||||
@ -491,7 +495,10 @@ class _QRViewState extends State<InvenTreeQRView> {
|
||||
_controller = controller;
|
||||
controller.scannedDataStream.listen((barcode) {
|
||||
_controller?.pauseCamera();
|
||||
_handler.processBarcode(context, _controller, barcode.code);
|
||||
|
||||
if (barcode.code != null) {
|
||||
_handler.processBarcode(context, _controller, barcode.code ?? "");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
58
pubspec.lock
58
pubspec.lock
@ -7,7 +7,7 @@ packages:
|
||||
name: archive
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.2.2"
|
||||
version: "3.3.0"
|
||||
args:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -70,7 +70,7 @@ packages:
|
||||
name: camera
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.9.4+16"
|
||||
version: "0.9.4+17"
|
||||
camera_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -147,7 +147,7 @@ packages:
|
||||
name: device_info_plus
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.2.0"
|
||||
version: "3.2.2"
|
||||
device_info_plus_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -255,7 +255,7 @@ packages:
|
||||
name: flutter_markdown
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.6.9"
|
||||
version: "0.6.9+1"
|
||||
flutter_plugin_android_lifecycle:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -279,7 +279,7 @@ packages:
|
||||
name: font_awesome_flutter
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "9.2.0"
|
||||
version: "10.1.0"
|
||||
http:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@ -454,7 +454,21 @@ packages:
|
||||
name: path_provider
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.2"
|
||||
version: "2.0.9"
|
||||
path_provider_android:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: path_provider_android
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.12"
|
||||
path_provider_ios:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: path_provider_ios
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.8"
|
||||
path_provider_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -524,7 +538,7 @@ packages:
|
||||
name: qr_code_scanner
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.5.2"
|
||||
version: "0.7.0"
|
||||
quiver:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -552,14 +566,14 @@ packages:
|
||||
name: sentry
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "5.1.0"
|
||||
version: "6.4.0"
|
||||
sentry_flutter:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: sentry_flutter
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "5.0.0"
|
||||
version: "6.4.0"
|
||||
shared_preferences:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -683,7 +697,7 @@ packages:
|
||||
name: synchronized
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.0.0"
|
||||
version: "3.0.0+2"
|
||||
term_glyph:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -711,21 +725,35 @@ packages:
|
||||
name: url_launcher
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "6.0.9"
|
||||
version: "6.0.20"
|
||||
url_launcher_android:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_android
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "6.0.15"
|
||||
url_launcher_ios:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_ios
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "6.0.15"
|
||||
url_launcher_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_linux
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.3"
|
||||
version: "3.0.0"
|
||||
url_launcher_macos:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_macos
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.3"
|
||||
version: "3.0.0"
|
||||
url_launcher_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -746,7 +774,7 @@ packages:
|
||||
name: url_launcher_windows
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.2"
|
||||
version: "3.0.0"
|
||||
uuid:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -767,7 +795,7 @@ packages:
|
||||
name: win32
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.4.2"
|
||||
version: "2.5.0"
|
||||
xdg_directories:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
37
pubspec.yaml
37
pubspec.yaml
@ -15,36 +15,37 @@ environment:
|
||||
|
||||
dependencies:
|
||||
|
||||
audioplayers: ^0.20.1 # Play audio files
|
||||
cached_network_image: ^3.1.0 # Download and cache remote images
|
||||
camera: # Camera
|
||||
cupertino_icons: ^1.0.3
|
||||
datetime_picker_formfield: ^2.0.0 # Date / time picker
|
||||
device_info_plus: ^2.1.0 # Information about the device
|
||||
dropdown_search: 0.6.3 # Dropdown autocomplete form fields
|
||||
file_picker: ^4.0.0 # Select files from the device
|
||||
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
||||
flutter_localizations:
|
||||
sdk: flutter
|
||||
|
||||
flutter_markdown: ^0.6.2 # Rendering markdown
|
||||
font_awesome_flutter: ^9.1.0 # FontAwesome icon set
|
||||
http: ^0.13.0
|
||||
audioplayers: ^0.20.1 # Play audio files
|
||||
cached_network_image: ^3.2.0 # Download and cache remote images
|
||||
camera: ^0.9.4 # Camera
|
||||
cupertino_icons: ^1.0.3
|
||||
datetime_picker_formfield: ^2.0.0 # Date / time picker
|
||||
device_info_plus: ^3.2.2 # Information about the device
|
||||
dropdown_search: ^0.6.3 # Dropdown autocomplete form fields
|
||||
file_picker: ^4.5.1 # Select files from the device
|
||||
|
||||
|
||||
flutter_markdown: ^0.6.9 # Rendering markdown
|
||||
font_awesome_flutter: ^10.1.0 # FontAwesome icon set
|
||||
http: ^0.13.4
|
||||
image_picker: ^0.8.3 # Select or take photos
|
||||
infinite_scroll_pagination: ^3.1.0 # Let the server do all the work!
|
||||
intl: ^0.17.0
|
||||
one_context: ^1.1.0 # Dialogs without requiring context
|
||||
open_file: 3.2.1 # Open local files
|
||||
open_file: ^3.2.1 # Open local files
|
||||
package_info_plus: ^1.0.4 # App information introspection
|
||||
path:
|
||||
path_provider: 2.0.2 # Local file storage
|
||||
qr_code_scanner: ^0.5.2 # Barcode scanning
|
||||
path: ^1.8.0
|
||||
path_provider: ^2.0.2 # Local file storage
|
||||
qr_code_scanner: ^0.7.0 # Barcode scanning
|
||||
sembast: ^3.1.0+2 # NoSQL data storage
|
||||
sentry_flutter: 5.0.0 # Error reporting
|
||||
url_launcher: 6.0.9 # Open link in system browser
|
||||
sentry_flutter: ^6.4.0 # Error reporting
|
||||
url_launcher: ^6.0.9 # Open link in system browser
|
||||
|
||||
dev_dependencies:
|
||||
flutter_launcher_icons:
|
||||
|
Loading…
x
Reference in New Issue
Block a user