Serdnad / aws_s3_upload

A simple, convenient package for uploading to S3 in Flutter
BSD 3-Clause "New" or "Revised" License
16 stars 50 forks source link

amazon_cognito_identity_dart_2 new edition conflict #16

Open mkbsugita opened 1 year ago

mkbsugita commented 1 year ago

I use ^3.3.0 version of amazon_cognito_identity_dart_2 I don't want to downgrade\

0.1.25
mkbsugita commented 1 year ago

I guess it is the best 3S module in Dart modules.

mkbsugita commented 1 year ago

bad: SimpleS3 minio

Serdnad commented 1 year ago

If you have the time to fork this library and test that it works with the latest version of amazon_cognito_identity_dart_2, a PR would be incredibly welcome! Otherwise, I'll see if I can get around to it, but it may be a few days.

mkbsugita commented 1 year ago

FYI

flutter pub add aws_s3_upload command's result

Because aws_s3_upload <1.2.0 depends on amazon_cognito_identity_dart_2 ^0.1.25+1 and aws_s3_upload >=1.2.0 depends on amazon_cognito_identity_dart_2 ^1.0.3, every version of aws_s3_upload requires amazon_cognito_identity_dart_2 ^0.1.25+1 or ^1.0.3.
So, because MKBContainerFortune depends on both amazon_cognito_identity_dart_2 ^3.3.0 and aws_s3_upload any, version solving failed.
pub finished with exit code 65
mkbsugita commented 1 year ago
dependency_overrides:
  amazon_cognito_identity_dart_2: ^3.3.0

in pubspec.yaml