diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 11ced08..fd6240b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,13 +4,13 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly" reviewers: - "khoren93" - package-ecosystem: "pub" directory: "/" schedule: - interval: "weekly" + interval: "monthly" reviewers: - "khoren93" - package-ecosystem: "pub" diff --git a/example/pubspec.lock b/example/pubspec.lock index c883376..1f20ec6 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: name: archive url: "https://pub.dartlang.org" source: hosted - version: "3.3.1" + version: "3.3.2" async: dependency: transitive description: @@ -28,14 +28,14 @@ packages: name: camera url: "https://pub.dartlang.org" source: hosted - version: "0.10.0+3" + version: "0.10.0+4" camera_android: dependency: transitive description: name: camera_android url: "https://pub.dartlang.org" source: hosted - version: "0.10.0+3" + version: "0.10.0+4" camera_avfoundation: dependency: transitive description: @@ -49,7 +49,7 @@ packages: name: camera_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.2.2" + version: "2.3.0" camera_web: dependency: transitive description: @@ -162,7 +162,7 @@ packages: name: http_parser url: "https://pub.dartlang.org" source: hosted - version: "4.0.1" + version: "4.0.2" image: dependency: "direct main" description: @@ -176,7 +176,7 @@ packages: name: image_picker url: "https://pub.dartlang.org" source: hosted - version: "0.8.5+3" + version: "0.8.6" image_picker_android: dependency: transitive description: @@ -218,7 +218,7 @@ packages: name: lints url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.1" matcher: dependency: transitive description: @@ -253,7 +253,7 @@ packages: name: petitparser url: "https://pub.dartlang.org" source: hosted - version: "5.0.0" + version: "5.1.0" plugin_platform_interface: dependency: transitive description: @@ -300,7 +300,7 @@ packages: name: stream_transform url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.1" string_scanner: dependency: transitive description: @@ -344,5 +344,5 @@ packages: source: hosted version: "6.1.0" sdks: - dart: ">=2.17.0 <3.0.0" - flutter: ">=2.10.0" + dart: ">=2.18.0 <3.0.0" + flutter: ">=3.0.0" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 2d2e017..af59104 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: path: ../ font_awesome_flutter: ^10.2.1 image: ^3.2.2 - image_picker: ^0.8.5 + image_picker: ^0.8.6 dev_dependencies: flutter_lints: ^2.0.1 diff --git a/zxscanner/android/build.gradle b/zxscanner/android/build.gradle index 48a5fe9..27d3bd7 100644 --- a/zxscanner/android/build.gradle +++ b/zxscanner/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.7.0' + ext.kotlin_version = '1.6.21' repositories { google() mavenCentral() diff --git a/zxscanner/lib/pages/creator_page.dart b/zxscanner/lib/pages/creator_page.dart index 199a6c7..408be72 100644 --- a/zxscanner/lib/pages/creator_page.dart +++ b/zxscanner/lib/pages/creator_page.dart @@ -3,6 +3,7 @@ import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'package:flutter_zxing/flutter_zxing.dart'; +import 'package:image_picker/image_picker.dart'; import 'package:path_provider/path_provider.dart'; import 'package:share_plus/share_plus.dart'; @@ -96,8 +97,8 @@ class _CreatorPageState extends State { final RenderBox? box = context.findRenderObject() as RenderBox?; if (box != null) { - Share.shareFiles( - [path], + Share.shareXFiles( + [XFile(path)], sharePositionOrigin: box.localToGlobal(Offset.zero) & box.size, ); diff --git a/zxscanner/pubspec.lock b/zxscanner/pubspec.lock index 0e2b072..2a47bc0 100644 --- a/zxscanner/pubspec.lock +++ b/zxscanner/pubspec.lock @@ -21,7 +21,7 @@ packages: name: archive url: "https://pub.dartlang.org" source: hosted - version: "3.3.1" + version: "3.3.2" args: dependency: transitive description: @@ -56,7 +56,7 @@ packages: name: build_config url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.1.1" build_daemon: dependency: transitive description: @@ -77,14 +77,14 @@ packages: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "2.2.1" + version: "2.3.2" build_runner_core: dependency: transitive description: name: build_runner_core url: "https://pub.dartlang.org" source: hosted - version: "7.2.4" + version: "7.2.7" built_collection: dependency: transitive description: @@ -98,21 +98,21 @@ packages: name: built_value url: "https://pub.dartlang.org" source: hosted - version: "8.4.1" + version: "8.4.2" camera: dependency: transitive description: name: camera url: "https://pub.dartlang.org" source: hosted - version: "0.10.0+3" + version: "0.10.0+4" camera_android: dependency: transitive description: name: camera_android url: "https://pub.dartlang.org" source: hosted - version: "0.10.0+3" + version: "0.10.0+4" camera_avfoundation: dependency: transitive description: @@ -126,7 +126,7 @@ packages: name: camera_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.2.2" + version: "2.3.0" camera_web: dependency: transitive description: @@ -175,7 +175,7 @@ packages: name: convert url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.1.1" convex_bottom_bar: dependency: "direct main" description: @@ -321,7 +321,7 @@ packages: name: flutter_zxing url: "https://pub.dartlang.org" source: hosted - version: "0.8.3" + version: "0.8.4" font_awesome_flutter: dependency: "direct main" description: @@ -335,7 +335,7 @@ packages: name: frontend_server_client url: "https://pub.dartlang.org" source: hosted - version: "2.1.3" + version: "3.1.0" glob: dependency: transitive description: @@ -349,7 +349,7 @@ packages: name: graphs url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.2.0" hive: dependency: "direct main" description: @@ -398,7 +398,7 @@ packages: name: http_parser url: "https://pub.dartlang.org" source: hosted - version: "4.0.1" + version: "4.0.2" icons_launcher: dependency: "direct dev" description: @@ -419,7 +419,7 @@ packages: name: image_picker url: "https://pub.dartlang.org" source: hosted - version: "0.8.5+3" + version: "0.8.6" image_picker_android: dependency: transitive description: @@ -482,14 +482,14 @@ packages: name: lints url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.1" logging: dependency: transitive description: name: logging url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.1.0" markdown: dependency: transitive description: @@ -566,7 +566,7 @@ packages: name: path_provider_android url: "https://pub.dartlang.org" source: hosted - version: "2.0.20" + version: "2.0.21" path_provider_ios: dependency: transitive description: @@ -608,7 +608,7 @@ packages: name: petitparser url: "https://pub.dartlang.org" source: hosted - version: "5.0.0" + version: "5.1.0" platform: dependency: transitive description: @@ -643,7 +643,7 @@ packages: name: pub_semver url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" pubspec_parse: dependency: transitive description: @@ -664,14 +664,14 @@ packages: name: share_plus url: "https://pub.dartlang.org" source: hosted - version: "4.4.0" + version: "5.0.0" share_plus_linux: dependency: transitive description: name: share_plus_linux url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.1" share_plus_macos: dependency: transitive description: @@ -685,21 +685,21 @@ packages: name: share_plus_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "3.0.3" + version: "3.2.0" share_plus_web: dependency: transitive description: name: share_plus_web url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.1.0" share_plus_windows: dependency: transitive description: name: share_plus_windows url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "4.0.0" shared_preferences: dependency: "direct main" description: @@ -713,7 +713,7 @@ packages: name: shared_preferences_android url: "https://pub.dartlang.org" source: hosted - version: "2.0.13" + version: "2.0.14" shared_preferences_ios: dependency: transitive description: @@ -781,7 +781,7 @@ packages: name: source_gen url: "https://pub.dartlang.org" source: hosted - version: "1.2.5" + version: "1.2.6" source_helper: dependency: transitive description: @@ -816,7 +816,7 @@ packages: name: stream_transform url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.1" string_scanner: dependency: transitive description: @@ -872,7 +872,7 @@ packages: name: url_launcher_android url: "https://pub.dartlang.org" source: hosted - version: "6.0.19" + version: "6.0.21" url_launcher_ios: dependency: transitive description: @@ -915,6 +915,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "3.0.1" + uuid: + dependency: transitive + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.6" vector_math: dependency: transitive description: @@ -928,7 +935,7 @@ packages: name: watcher url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.2" web_socket_channel: dependency: transitive description: @@ -942,7 +949,7 @@ packages: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "2.7.0" xdg_directories: dependency: transitive description: diff --git a/zxscanner/pubspec.yaml b/zxscanner/pubspec.yaml index 93c4fe0..202c067 100644 --- a/zxscanner/pubspec.yaml +++ b/zxscanner/pubspec.yaml @@ -27,7 +27,7 @@ dependencies: intl: ^0.17.0 mobx: ^2.1.1 path_provider: ^2.0.11 - share_plus: ^4.4.0 + share_plus: ^5.0.0 shared_preferences: ^2.0.15 url_launcher: ^6.1.6