furaiev / amazon-cognito-identity-dart-2

Unofficial Amazon Cognito Identity Provider Dart SDK, to easily add user sign-up and sign-in to your mobile and web apps with AWS.
MIT License
187 stars 114 forks source link

Null Safety support #126

Closed jlubeck closed 3 years ago

jlubeck commented 3 years ago

Hey, as Flutter is quickly adopting null safety across the board, are you planning on supporting it here?

I ran into an issue in one of my apps where I had to start updating packages for null safety support, and when I got to this one, I got stuck. Because even though I can override the http dependency to not get errors during pub get, I get them at compile time because apparently http made a change in some of their methods and now they take Uri instead of String.

So this library is no longer compatible with http 0.13.0.

furaiev commented 3 years ago

Hey @jlubeck you can try to test https://pub.dev/packages/amazon_cognito_identity_dart_2/versions/1.0.0-nullsafety.0

mat100payette commented 3 years ago

This should be fixed now I believe ? https://pub.dev/packages/amazon_cognito_identity_dart_2/versions/1.0.0-nullsafety.2