From e9aa2d6a30d0037da40de80dd3b469ecc87d23d6 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 12 Dec 2024 17:26:55 -0600 Subject: [PATCH] fix: force override of a dep we don't even use so that sqlite doesn't complain --- pubspec.lock | 13 +++++++------ scripts/app_config/templates/pubspec.template | 2 ++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index 13ac9db0a..3ccce4760 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -627,11 +627,12 @@ packages: devicelocale: dependency: "direct main" description: - name: devicelocale - sha256: "0812b66f9eac57bc55c6ed4c178e0779440aa4e4e7c7e32fe1db02a758501d0e" - url: "https://pub.dev" - source: hosted - version: "0.7.1" + path: "." + ref: ba7d7d87a3772e972adb1358a5ec9a111b514fce + resolved-ref: ba7d7d87a3772e972adb1358a5ec9a111b514fce + url: "https://github.com/cypherstack/flutter-devicelocale" + source: git + version: "0.8.1" dio: dependency: transitive description: @@ -2187,7 +2188,7 @@ packages: source: hosted version: "1.1.0" web: - dependency: transitive + dependency: "direct overridden" description: name: web sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" diff --git a/scripts/app_config/templates/pubspec.template b/scripts/app_config/templates/pubspec.template index 1f968ec1d..e44cdcab4 100644 --- a/scripts/app_config/templates/pubspec.template +++ b/scripts/app_config/templates/pubspec.template @@ -231,6 +231,8 @@ flutter_native_splash: android_disable_fullscreen: true dependency_overrides: + # required to make devicelocale work + web: ^0.5.0 # needed for dart 3.5+ (at least for now) win32: ^5.5.4