From 2e8b3c1e1e3e8ac362f0ffc5b2c2468a0b9ac54e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Sat, 28 Feb 2026 09:14:46 +0100 Subject: [PATCH] build: Use webcrypto from github to fix 16kb --- pubspec.lock | 11 ++++++----- pubspec.yaml | 7 +++++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index a2e3dc834..3edd5d9e9 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -2210,12 +2210,13 @@ packages: source: hosted version: "3.0.3" webcrypto: - dependency: transitive + dependency: "direct overridden" description: - name: webcrypto - sha256: "6b43001c4110856ff7fa5e5e65e7b2d44bec1d8b54a4d84d5fa2c7622267c5c1" - url: "https://pub.dev" - source: hosted + path: "." + ref: master + resolved-ref: dcc7ba78c9721de56a800fda9a9e2bc759b9cad3 + url: "https://github.com/google/webcrypto.dart.git" + source: git version: "0.6.0" webdriver: dependency: transitive diff --git a/pubspec.yaml b/pubspec.yaml index a79be8149..d3ebae0c9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -119,3 +119,10 @@ flutter: # 2. Always link an (upstream?) issue # 3. Explain how and when this can be removed (overrides must be temporarily) dependency_overrides: + # To fix 16kb compatiblity in PlayStore. It is fixed in main branch but + # not yet published: + # https://github.com/google/webcrypto.dart/issues/207 + webcrypto: + git: + url: https://github.com/google/webcrypto.dart.git + ref: master \ No newline at end of file