From 1b0d6dbeddb66abe3f64f2eb42511be2612cc7e3 Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Sat, 21 Mar 2026 01:49:57 +0800 Subject: [PATCH] fix(windows): vendor secure storage plugin without ATL --- analysis_options.yaml | 6 ++++++ pubspec.lock | 9 ++++----- pubspec.yaml | 4 ++++ 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 0d290213..b676128d 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -9,6 +9,12 @@ # packages, and plugins designed to encourage good coding practices. include: package:flutter_lints/flutter.yaml +analyzer: + exclude: + - third_party/**/example/** + - third_party/**/test/** + - third_party/**/analysis_options.yaml + linter: # The lint rules applied to this project can be customized in the # section below to disable rules from the `package:flutter_lints/flutter.yaml` diff --git a/pubspec.lock b/pubspec.lock index 93b8c580..383c3709 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -265,12 +265,11 @@ packages: source: hosted version: "1.2.1" flutter_secure_storage_windows: - dependency: transitive + dependency: "direct overridden" description: - name: flutter_secure_storage_windows - sha256: b20b07cb5ed4ed74fc567b78a72936203f587eba460af1df11281c9326cd3709 - url: "https://pub.dev" - source: hosted + path: "third_party/flutter_secure_storage_windows" + relative: true + source: path version: "3.1.2" flutter_test: dependency: "direct dev" diff --git a/pubspec.yaml b/pubspec.yaml index 90d954e8..f50a474b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -31,6 +31,10 @@ dependencies: web_socket_channel: ^3.0.3 yaml: ^3.1.3 +dependency_overrides: + flutter_secure_storage_windows: + path: third_party/flutter_secure_storage_windows + dev_dependencies: flutter_test: sdk: flutter