Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: define web dependency properly #1001

Closed

Conversation

johnmartel
Copy link

This commit fixes the following error when fetching dependencies:

Invalid version constraint: Expected version number after ">=" in
">=^0.5.1 <2.0.0", got "^0.5.1 <2.0.0".

This commit fixes the following error when fetching dependencies:

```
Invalid version constraint: Expected version number after ">=" in
">=^0.5.1 <2.0.0", got "^0.5.1 <2.0.0".
```
Copy link

docs-page bot commented Oct 12, 2024

To view this pull requests documentation preview, visit the following URL:

docs.page/lyokone/flutterlocation~1001

Documentation is deployed and generated using docs.page.

@johnmartel
Copy link
Author

To actually use this fix, add the following dependecy override in pubspec.yaml:

dependencies:
  location: 7.0.0

dependency_overrides:
  location_web:
    # fixes dependency problem on web: 0.5.1
    # fix has not been released yet
    git:
      url: https://github.com/valian-ca/flutterlocation.git
      ref: 457fa290c37d360a62370d958db7bf1aa653e502
      path: packages/location_web

Fixes: #983

@bartekpacia
Copy link
Collaborator

superseded by #1002 and #1003

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants