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

Increase package_info_plus version to 5.0.1 in amplify_analytics_pinpoint #4211

Closed
3 of 14 tasks
ngoc-quoc-huynh opened this issue Dec 5, 2023 · 1 comment
Closed
3 of 14 tasks
Assignees
Labels
auth Issues related to the Auth Category dependencies Pull requests that update a dependency file

Comments

@ngoc-quoc-huynh
Copy link

Description

I'm currently using amplify_auth_cognito: ^1.6.0 and tried to update package_info_plus to the new version ^5.0.1, but I receive the following error:

Because no versions of amplify_auth_cognito match >1.6.0 <2.0.0 and amplify_auth_cognito 1.6.0 depends on amplify_analytics_pinpoint >=1.6.0 <1.7.0, amplify_auth_cognito ^1.6.0 requires amplify_analytics_pinpoint >=1.6.0 <1.7.0.
And because amplify_analytics_pinpoint >=1.1.1 depends on package_info_plus ^4.0.1, amplify_auth_cognito ^1.6.0 requires package_info_plus ^4.0.1.
So, because justlaw depends on both amplify_auth_cognito ^1.6.0 and package_info_plus ^5.0.1, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on package_info_plus: flutter pub add package_info_plus:^4.2.0

There is already a PR for this.

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

  1. Create a new project
  2. Add amplify_auth_cognito: ^1.6.0 to pubspec.yaml
  3. Add package_info_plus: ^5.0.1 to pubsec.yaml
  4. Run flutter pub get

Screenshots

No response

Platforms

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

Flutter Version

3.16.2

Amplify Flutter Version

1.6.0

Deployment Method

Amplify CLI

Schema

No response

@khatruong2009 khatruong2009 added auth Issues related to the Auth Category pending-triage This issue is in the backlog of issues to triage and removed pending-triage This issue is in the backlog of issues to triage labels Dec 5, 2023
@Equartey Equartey added the dependencies Pull requests that update a dependency file label Jan 25, 2024
@haverchuck
Copy link
Contributor

This was resolved in the latest release of amplify flutter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth Issues related to the Auth Category dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

4 participants