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
182 stars 113 forks source link

Fix unexpected nullref during "initiateAuth" #190

Closed AndreiMisiukevich closed 2 years ago

AndreiMisiukevich commented 2 years ago

Since authParameters is optional parameter inAuthenticationDetails we should avoid null reference exceptions if no value was passed.

furaiev commented 2 years ago

@AndreiMisiukevich thank you for your contribution, will be available as of version 2.1.1