From 62eec9a041e5fa448c6f6a63774d02c95fc47e9b Mon Sep 17 00:00:00 2001 From: Stephen McDonald Date: Mon, 7 Sep 2026 10:10:40 +1000 Subject: [PATCH] fix: remove unused flutter_localizations dependency pay and pay_android declared flutter_localizations as a dependency without importing or using it anywhere in lib/. Since it's an SDK package, its version is pinned to whatever intl version ships with the developer's installed Flutter SDK, which conflicts with apps that depend on a different intl version and breaks `pub get`/`pub add pay` for no functional benefit to the plugin. Fixes #260 --- pay/pubspec.yaml | 2 -- pay_android/pubspec.yaml | 2 -- 2 files changed, 4 deletions(-) diff --git a/pay/pubspec.yaml b/pay/pubspec.yaml index bf7f7d7..23527fa 100644 --- a/pay/pubspec.yaml +++ b/pay/pubspec.yaml @@ -32,8 +32,6 @@ flutter: dependencies: flutter: sdk: flutter - flutter_localizations: - sdk: flutter pay_android: ^3.2.0 pay_ios: ^1.1.0 pay_platform_interface: ^2.0.0 diff --git a/pay_android/pubspec.yaml b/pay_android/pubspec.yaml index 5941a69..623e284 100644 --- a/pay_android/pubspec.yaml +++ b/pay_android/pubspec.yaml @@ -31,8 +31,6 @@ flutter: dependencies: flutter: sdk: flutter - flutter_localizations: - sdk: flutter pay_platform_interface: ^2.0.0