PackageTrack
Sign in Get early access

amazon_cognito_identity_dart_2

Unofficial Amazon Cognito Identity Provider Dart SDK, to add user sign-up / sign-in to your mobile and web apps with AWS Cloud Services. Based on amazon-cognito-identity-dart

4.0.0 furaiev/amazon-cognito-identity-dart-2

What this package is like to depend on

Last release 3 months ago

03 May 2026

Release timing varies

gaps range from 3 weeks to 1.2 years

Nearly every release is documented

notes for 73 of 74 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

79 releases · first in 2019

2 releases in the last 12 months

see the full history below

Release timeline

79 releases · Dec 2019 to May 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 79
  1. 4.0.0 03 May 2026
    Release notes
    • breaking: CognitoMemoryStorage no longer uses a single library-level map shared by all instances (issue #277). Each CognitoMemoryStorage now has its own in-memory map. Code that created multiple CognitoMemoryStorage objects and relied on them seeing the same keys (or on clearing one instance affecting another) must be updated: use one shared instance, inject a custom CognitoStorage implementation, or merge migration data explicitly. Typical usage with a single storage instance per app is unchanged.
    Open source →
  2. 3.8.2 03 May 2026
    Release notes
    • feat: CognitoUser.getTokensFromRefreshToken for the GetTokensFromRefreshToken API (required for refresh token rotation). With rotation, reuse of an invalidated refresh token is reported as RefreshTokenReuseException on the client
    Open source →
  3. 3.8.1 31 Jan 2025
    Release notes
    • feat: new password challenge support
    Open source →
  4. 3.8.0 15 Dec 2024
    Release notes
    • fix: confirmPassword returns response rather than always true

    • feat: email OTP MFA support

    • bumped: flutter_lints from 4.0.0 to 5.0.0

    • 3.7.0

    • feat: upgraded associateSoftwareToken and verifySoftwareToken to use AssociateSoftwareToken with either an access token or a session string

    • bumped: flutter_lints from 3.0.2 to 4.0.0

    Open source →
  5. 3.7.0 26 Oct 2024

    Nothing published for this version

  6. 3.6.5 12 May 2024
    Release notes
    • added: ClientMetaData to a parameter of respondToAuthChallenge
    Open source →
  7. 3.6.4 22 Apr 2024
    Release notes
    • added: optional Refresh Token revocation on sign-out
    Open source →
  8. 3.6.3 22 Apr 2024
    Release notes
    • added: secret hash in SMS MFA
    Open source →
  9. 3.6.2 20 Jan 2024
    Release notes
    • bumped: js from 0.6.7 to 0.7.0
    Open source →
  10. 3.6.1 20 Jan 2024
    Release notes
    • fixed: username assignment during _authenticateUserDefaultAuth in CognitoUser
    Open source →
  11. 3.6.0 12 Nov 2023
    Release notes
    • http dependency includes older 0.13.1 version as valid
    • added: additional support for mfa functionalities
    Open source →
  12. 3.6.0-dev.1 08 Jul 2023 pre-release
    Release notes
    • http dependency includes older 0.13.1 version as valid
    Open source →
  13. 3.5.0 11 Jun 2023
    Release notes
    • dependencies are updated to the latest
    Open source →
  14. 3.4.0 11 Jun 2023
    Release notes
    • fixed: SocketException when network is disabled
    Open source →
  15. 3.3.0 20 Mar 2023
    Release notes
    • changed: a specific exception CognitoUserDeviceConfirmationNecessaryException that can be handled whenever an users device needs confirmation is separated from CognitoUserConfirmationNecessaryException
    Open source →
  16. 3.2.0 03 Feb 2023
    Release notes
    • added: better handling of unverified phone numbers using sms mfa
    • added: allow CUSTOM_AUTH authentication flow via SRP password verification
    Open source →
  17. 3.1.1 10 Dec 2022
    Release notes
    • fixed: CognitoUser.getSession throws TypeError when storage returns null for clockDrift
    Open source →
  18. 3.1.0 05 Dec 2022
    Release notes
    • feat: try to refresh session if access token is null
    Open source →
  19. 3.0.3 06 Oct 2022
    Release notes
    • fixed: clientSecret instead of client secret hash in refresh session
    Open source →
  20. 3.0.2 05 Oct 2022
    Release notes
    • added: secret hash to sendNewPasswordRequired function
    Open source →
  21. 3.0.1 01 Oct 2022
    Release notes
    • added: Regen SECRET_HASH using the srp username
    Open source →
  22. 3.0.0 17 Jun 2022
    Release notes
    • breaking: confirmRegistration forceAliasCreation parameter as named
    • added: confirmRegistration clientMetadata parameter
    Open source →
  23. 2.1.3 12 Jun 2022
    Release notes
    • fixes: SECRET_HASH parameter in CognitoUser refreshSession()
    Open source →
  24. 2.1.2 08 Jun 2022
    Release notes
    • adds: optional clientMetadata (Map<string,string>) to signup
    Open source →
  25. 2.1.1 01 May 2022
    Release notes
    • fixed: unexpected nullref during "initiateAuth" (authParameters is optional parameter in AuthenticationDetails)
    Open source →
  26. 2.1.0 27 Apr 2022
    Release notes
    • changed: SocketException detecting via pattern (removed dart:io dependency)
    Open source →
  27. 2.0.3 26 Apr 2022
    Release notes
    • added: flutter_test dev dependency
    Open source →
  28. 2.0.2 26 Apr 2022
    Release notes
    • added: flutter sdk dependency
    Open source →
  29. 2.0.1 26 Apr 2022
    Release notes
    • added: flutter dependency
    Open source →
  30. 2.0.0 07 Apr 2022
    Release notes
    • implement js BigInt workaround to speed up authenticateUser on flutter web
    • deprecated pedantic replaced with flutter_lints + code style
    Open source →
  31. 1.0.5 06 Feb 2022
    Release notes
    • Changed: exports client.dart to facilitate using injection for automated testing
    Open source →
  32. 1.0.4 14 Jan 2022
    Release notes
    • Changed: SigV4Request headers is case insensitive
    Open source →
  33. 1.0.3 05 May 2021
    Release notes
    • Removed: Temporary workaround to BigInt.modPow
    Open source →
  34. 1.0.2 01 May 2021
    Release notes
    • Changed: challengeName as nullable variable
    Open source →
  35. 1.0.1 30 Apr 2021
    Release notes
    • Storage initialization fixes
    Open source →
  36. 1.0.0 29 Apr 2021
    Release notes
    • Nullsafety branch is merged with latest non-nullsafety changes
    Open source →
  37. 1.0.0-nullsafety.3 14 Mar 2021 pre-release
    Release notes
    • Fixed: example
    • Fixed: Retrieving data from Storage as FutureOr<String?> breaks clients
    • Define shared_preferences as actual dependency, remove private file .flutter-plugins-dependencies and change code to work with latest http
    Open source →
  38. 1.0.0-nullsafety.2 04 Mar 2021 pre-release
    Release notes
    • Fixed: http.post Uri argument
    Open source →
  39. 1.0.0-nullsafety.1 03 Mar 2021 pre-release
    Release notes
    • Added optional validationData parameter for sendCustomChallengeAnswer
    • Fixed: http.post
    Open source →
  40. 1.0.0-nullsafety.0 22 Feb 2021 pre-release
    Release notes
    • Initial null safety
    Open source →
  41. 0.1.25 04 Feb 2021
    Release notes
    • [Issue #69] Solving "type '_InternalLinkedHashMap<String, String>' is not a subtype of type 'String' of 'value'" bug when ParamsDecorator receives a Map<String, String>.
    Open source →
  42. 0.1.25+1 10 Feb 2021
    Release notes
    • Example update: check for InvalidPasswordException in signup screen
    Open source →
  43. 0.1.25+2 02 Mar 2021
    Release notes
    • Added optional validationData parameter for sendCustomChallengeAnswer
    Open source →
  44. 0.1.25+3 14 Mar 2021
    Release notes
    • Fixed: a storage key issue
    • Defined a local variable srp_username, in order to not override user value
    Open source →
  45. 0.1.25+4 22 Mar 2021
    Release notes
    • Fixed: a storage key issue
    • Fixed: broken lastAuthUser lookup in CognitoUser
    Open source →
  46. 0.1.24 12 Jan 2021
    Release notes
    • [Issue #69] Adding await in the call to analyticsMetadataParamsDecorator in case some implementations need to include async modifier
    Open source →
  47. 0.1.24+1 30 Jan 2021
    Release notes
    • [Issue #88] Update example to latest version of Flutter for iOS, Android and Web. Uses AndroidX now which solves this issue
    • [Issue #81] Enable login for Flutter Web by upgrading shared_preferences dependency version
    • Separate example into individual files, for easier re-use / copy and paste
    • Add a lib/secrets.dart file to hold the aws secrets. That file is added to .gitignore
    • Add quick start instructions in readme for compiling example. Does not include how to setup resources in AWS, but that is a pre-requiste the example working.
    • Migrate from depricated RaisedButton to ElevatedButton in example
    Open source →
  48. 0.1.24+2 30 Jan 2021
    Release notes
    • [Issue #103] Set confirmed to true when email or phone_number is verified
    Open source →
  49. 0.1.23 10 Jan 2021
    Release notes
    • [Issue #69] Propagating analyticsMetadataParamsDecorator to CognitoUser from CognitoUserPool
    Open source →
  50. 0.1.22 30 Dec 2020
    Release notes
    • [Issue #69] Adding support for AnalyticsMetadata request parameter
    Open source →
  51. 0.1.21 18 Dec 2020
    Release notes
    • failed AWS request with specific character
    Open source →
  52. 0.1.20 01 Dec 2020
    Release notes
    • removed: getLargeAValue call on AuthenticationHelper initialization
    Open source →
  53. 0.1.19 20 Nov 2020
    Release notes
    • added: additional getters for CognitoJwtToken
    Open source →
  54. 0.1.18 14 Nov 2020
    Release notes
    • added: SecretHash to ConfirmSignUp/ResendConfirmationCode request parameters
    Open source →
  55. 0.1.17 17 Sep 2020
    Release notes
    • added: clear the cached clockDriftKey
    Open source →
  56. 0.1.16 03 Sep 2020
    Release notes
    • added: Using an app client secret with '_authenticateUserPlainUsernamePassword'
    Open source →
  57. 0.1.15 17 Jul 2020
    Release notes
    • fixed: CognitoUser.getCachedDeviceKeyAndPassword as a Future<void>
    • removed flutter_test dev dependency
    Open source →
  58. 0.1.14 15 Jun 2020
    Release notes
    • added: CognitoUser.getDeviceKey method
    • added documentation for client secret
    Open source →
  59. 0.1.13 29 May 2020
    Release notes
    • changed: CognitoUser.updateAttributes and CognitoUser.deleteAttributes return Future<bool>
    • added: CognitoUser.getMFAOptions method
    Open source →
  60. 0.1.12 22 Mar 2020
    Release notes
    • allowed session to be passed to CognitoUser constructor and added federated sign in example to README
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive