From 8e454ffcc47197caaaed61126b90337d268589b5 Mon Sep 17 00:00:00 2001 From: Bernard Roche Date: Wed, 12 Aug 2026 08:55:51 +0100 Subject: [PATCH] fix(geocoding_darwin): declare pigeon as a dev_dependency (#304) --- geocoding_darwin/CHANGELOG.md | 8 ++++++++ geocoding_darwin/pubspec.yaml | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/geocoding_darwin/CHANGELOG.md b/geocoding_darwin/CHANGELOG.md index 0a8b254..78fcda0 100644 --- a/geocoding_darwin/CHANGELOG.md +++ b/geocoding_darwin/CHANGELOG.md @@ -1,3 +1,11 @@ +## 1.0.3 + +- Moves `pigeon` from `dependencies` to `dev_dependencies`. Pigeon is a + build-time code generator; the generated `geocoding.g.dart` does not import it + at runtime. Declaring it as a runtime dependency leaked pigeon's `analyzer` + version constraint into consuming apps. This matches `geocoding_android`, + which already declares pigeon under `dev_dependencies`. Fixes #304. + ## 1.0.2 - Registers the `GeocodingDarwinFactory` class as `dartPluginClass` factory to diff --git a/geocoding_darwin/pubspec.yaml b/geocoding_darwin/pubspec.yaml index a738b7c..7b947fb 100644 --- a/geocoding_darwin/pubspec.yaml +++ b/geocoding_darwin/pubspec.yaml @@ -2,7 +2,7 @@ name: geocoding_darwin description: |- A Flutter Geocoding plugin which provides easy geocoding and reverse-geocoding features for iOS and macOS. -version: 1.0.2 +version: 1.0.3 repository: https://github.com/baseflow/flutter-geocoding environment: @@ -13,13 +13,13 @@ dependencies: flutter: sdk: flutter geocoding_platform_interface: ^5.0.0 - pigeon: ^26.1.2 plugin_platform_interface: ^2.0.2 dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^6.0.0 + pigeon: ^26.1.2 flutter: plugin: