Amplify Flutter is not compatible with built_value 8.10.1
Description
@asaarnak has pointed out that Amplify is now pinning built_value 8.10.0, which makes it incompatible with the latest versions. Amplify packages should be updated to depend on built_value ^8.10.1.
Because no versions of amplify_auth_cognito match >2.6.2 <3.0.0 and amplify_auth_cognito 2.6.2 depends on amplify_auth_cognito_dart ^0.11.10, amplify_auth_cognito ^2.6.2 requires amplify_auth_cognito_dart ^0.11.10.
Because amplify_auth_cognito_dart 0.11.10 depends on built_value 8.10.0 and no versions of amplify_auth_cognito_dart match >0.11.10 <0.12.0, amplify_auth_cognito_dart ^0.11.10 requires built_value 8.10.0.
Thus, amplify_auth_cognito ^2.6.2 requires built_value 8.10.0.
So, because my_app depends on both built_value ^8.10.1 and amplify_auth_cognito ^2.6.2, version solving failed.
Categories
- [ ] Analytics
- [ ] API (REST)
- [ ] API (GraphQL)
- [x] Auth
- [ ] Authenticator
- [ ] DataStore
- [ ] Notifications (Push)
- [ ] Storage
Steps to Reproduce
- run `dart pub add built_value'
- run `dart pub add amplify_flutter'
- Observe that the latest versions are not compatible.
Screenshots
No response
Platforms
- [x] iOS
- [x] Android
- [x] Web
- [x] macOS
- [x] Windows
- [x] Linux
Flutter Version
3.29.0
Amplify Flutter Version
2.6.2
Deployment Method
Amplify Gen 2
Schema
This issue was opened by a maintainer of this repository; updates will be posted here. If you are also experiencing this issue, please comment here with any relevant information so that we're aware and can prioritize accordingly.
Amplify 2.6.3 was just released with a fix. Please let us know if you experience any issue.
Tested, works for us.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.