diff --git a/packages/smooth_app/lib/main.dart b/packages/smooth_app/lib/main.dart index f2577ae069e..e9005326b92 100644 --- a/packages/smooth_app/lib/main.dart +++ b/packages/smooth_app/lib/main.dart @@ -13,6 +13,7 @@ import 'package:openfoodfacts/openfoodfacts.dart'; import 'package:permission_handler/permission_handler.dart'; import 'package:provider/provider.dart'; import 'package:provider/single_child_widget.dart'; +import 'package:rive/rive.dart'; import 'package:scanner_shared/scanner_shared.dart'; import 'package:sentry_flutter/sentry_flutter.dart'; import 'package:smooth_app/data_models/continuous_scan_model.dart'; @@ -65,6 +66,8 @@ Future launchSmoothApp({ required ScannerLabel scannerLabel, final bool screenshots = false, }) async { + unawaited(RiveFile.initialize()); + _screenshots = screenshots; GlobalVars.barcodeScanner = barcodeScanner; diff --git a/packages/smooth_app/pubspec.lock b/packages/smooth_app/pubspec.lock index 5a3cee06b0f..3b1543f438f 100644 --- a/packages/smooth_app/pubspec.lock +++ b/packages/smooth_app/pubspec.lock @@ -1394,18 +1394,18 @@ packages: dependency: "direct main" description: name: share_plus - sha256: "3ef39599b00059db0990ca2e30fca0a29d8b37aae924d60063f8e0184cf20900" + sha256: "59dfd53f497340a0c3a81909b220cfdb9b8973a91055c4e5ab9b9b9ad7c513c0" url: "https://pub.dev" source: hosted - version: "7.2.2" + version: "10.0.0" share_plus_platform_interface: dependency: transitive description: name: share_plus_platform_interface - sha256: "251eb156a8b5fa9ce033747d73535bf53911071f8d3b6f4f0b578505ce0d4496" + sha256: "6ababf341050edff57da8b6990f11f4e99eaba837865e2e6defe16d039619db5" url: "https://pub.dev" source: hosted - version: "3.4.0" + version: "5.0.0" shared_preferences: dependency: "direct main" description: @@ -1783,10 +1783,10 @@ packages: dependency: "direct main" description: name: webview_flutter_android - sha256: c66651fba15f9d7ddd31daec42da8d6bce46c85610a7127e3ebcb39a4395c3c9 + sha256: "6e64fcb1c19d92024da8f33503aaeeda35825d77142c01d0ea2aa32edc79fdc8" url: "https://pub.dev" source: hosted - version: "3.16.6" + version: "3.16.7" webview_flutter_platform_interface: dependency: transitive description: diff --git a/packages/smooth_app/pubspec.yaml b/packages/smooth_app/pubspec.yaml index 6e5637e5dde..15f039902e7 100644 --- a/packages/smooth_app/pubspec.yaml +++ b/packages/smooth_app/pubspec.yaml @@ -57,12 +57,12 @@ dependencies: collection: 1.18.0 path: 1.9.0 path_provider: 2.1.4 - share_plus: 7.2.2 + share_plus: 10.0.0 fimber: 0.7.0 shimmer: ^3.0.0 rive: 0.13.13 webview_flutter: 4.8.0 - webview_flutter_android: 3.16.6 + webview_flutter_android: 3.16.7 webview_flutter_wkwebview: 3.14.0 flutter_custom_tabs: 2.1.0 flutter_image_compress: 2.3.0