最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

aws amplify - Is there a away to install the amplify_auth_cognito in flutter? - Stack Overflow

programmeradmin0浏览0评论

Trying to install amplify_auth_cognito: ^2.6.0 but the issue rises when the Flutter gives me following error when trying to install or pub get it.

Resolving dependencies...
Because amplify_auth_cognito >=2.6.0 depends on amplify_analytics_pinpoint_dart ^0.4.7 which depends on drift >=2.18.0 <2.19.0, amplify_auth_cognito >=2.6.0 requires drift >=2.18.0 <2.19.0.
And because drift >=2.16.0 <2.19.2 depends on web ^0.5.0, amplify_auth_cognito >=2.6.0 requires web ^0.5.0.
And because firebase_messaging_web 3.10.1 depends on web ^1.0.0 and no versions of firebase_messaging_web match >3.10.1 <4.0.0, amplify_auth_cognito >=2.6.0 is incompatible with firebase_messaging_web ^3.10.1.
And because firebase_messaging 15.2.1 depends on firebase_messaging_web ^3.10.1 and no versions of firebase_messaging match >15.2.1 <16.0.0, amplify_auth_cognito >=2.6.0 is incompatible with firebase_messaging ^15.2.1.
So, because apptest depends on both firebase_messaging ^15.2.1 and amplify_auth_cognito ^2.6.0, version solving failed.

I have tried to lower the sdk and package versions but those have not worked either.

发布评论

评论列表(0)

  1. 暂无评论