Skip to content

[Bug]: geolocator dependencу issues again #1777

@pamir72

Description

@pamir72

Please check the following before submitting a new issue.

Please select affected platform(s)

  • Android
  • iOS
  • Linux
  • macOS
  • Web
  • Windows

Steps to reproduce

After upgrade to package_info_plus: 10.0.0 and share_plus: 13.0.0 get the update issues

Expected results

No update issues

Actual results

Because every version of spm_share from path depends on geolocator ^14.0.2 and no versions of geolocator match >14.0.2 <15.0.0, every version of spm_share from path requires geolocator 14.0.2.
(1) So, because geolocator 14.0.2 depends on geolocator_linux ^0.2.3, every version of spm_share from path requires geolocator_linux ^0.2.3.

Because no versions of geolocator_linux match >0.2.4 <0.3.0 and geolocator_linux >=0.2.1 <0.2.4 depends on package_info_plus ^8.0.0, geolocator_linux >=0.2.1 <0.2.4-∞ or >0.2.4 <0.3.0 requires package_info_plus ^8.0.0.
And because geolocator_linux 0.2.4 depends on package_info_plus ^9.0.0, geolocator_linux ^0.2.1 requires package_info_plus ^8.0.0 or ^9.0.0.
And because every version of spm_share from path requires geolocator_linux ^0.2.3 (1), every version of spm_share from path requires package_info_plus ^8.0.0 or ^9.0.0.
So, because sp_mobile depends on both package_info_plus ^10.0.0 and spm_share from path, version solving failed.

Failed to update packages.

Code sample

Not required

Screenshots or video

Screenshots or video demonstration

[Upload media here]

Version

14.0.2

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.41.6, on macOS 26.4.1 25E253 darwin-arm64, locale ru-RU) [721ms]
    • Flutter version 3.41.6 on channel stable at /Users/pami/Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db50e20168 (3 weeks ago), 2026-03-25 16:21:00 -0700
    • Engine revision 425cfb54d0
    • Dart version 3.11.4
    • DevTools version 2.54.2
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations,
      enable-native-assets, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions