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
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 2026Releases
latest 60 of 79-
4.0.003 May 2026Release notes
Open source →- breaking:
CognitoMemoryStorageno longer uses a single library-level map shared by all instances (issue #277). EachCognitoMemoryStoragenow has its own in-memory map. Code that created multipleCognitoMemoryStorageobjects and relied on them seeing the same keys (or on clearing one instance affecting another) must be updated: use one shared instance, inject a customCognitoStorageimplementation, or merge migration data explicitly. Typical usage with a single storage instance per app is unchanged.
- breaking:
-
3.8.203 May 2026Release notes
Open source →- feat:
CognitoUser.getTokensFromRefreshTokenfor theGetTokensFromRefreshTokenAPI (required for refresh token rotation). With rotation, reuse of an invalidated refresh token is reported asRefreshTokenReuseExceptionon the client
- feat:
-
3.8.131 Jan 2025 -
3.8.015 Dec 2024Release notes
Open source →-
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
-
-
3.7.026 Oct 2024Nothing published for this version
-
3.6.512 May 2024 -
3.6.422 Apr 2024 -
3.6.322 Apr 2024 -
3.6.220 Jan 2024 -
3.6.120 Jan 2024Release notes
Open source →- fixed: username assignment during _authenticateUserDefaultAuth in CognitoUser
-
3.6.012 Nov 2023Release notes
Open source →- http dependency includes older 0.13.1 version as valid
- added: additional support for mfa functionalities
-
3.6.0-dev.108 Jul 2023 pre-release -
3.5.011 Jun 2023 -
3.4.011 Jun 2023 -
3.3.020 Mar 2023Release notes
Open source →- changed: a specific exception
CognitoUserDeviceConfirmationNecessaryExceptionthat can be handled whenever an users device needs confirmation is separated fromCognitoUserConfirmationNecessaryException
- changed: a specific exception
-
3.2.003 Feb 2023Release notes
Open source →- added: better handling of unverified phone numbers using sms mfa
- added: allow CUSTOM_AUTH authentication flow via SRP password verification
-
3.1.110 Dec 2022Release notes
Open source →- fixed: CognitoUser.getSession throws TypeError when storage returns null for clockDrift
-
3.1.005 Dec 2022 -
3.0.306 Oct 2022 -
3.0.205 Oct 2022 -
3.0.101 Oct 2022 -
3.0.017 Jun 2022Release notes
Open source →- breaking: confirmRegistration forceAliasCreation parameter as named
- added: confirmRegistration clientMetadata parameter
-
2.1.312 Jun 2022 -
2.1.208 Jun 2022 -
2.1.101 May 2022Release notes
Open source →- fixed: unexpected nullref during "initiateAuth" (authParameters is optional parameter in AuthenticationDetails)
-
2.1.027 Apr 2022Release notes
Open source →- changed: SocketException detecting via pattern (removed dart:io dependency)
-
2.0.326 Apr 2022 -
2.0.226 Apr 2022 -
2.0.126 Apr 2022 -
2.0.007 Apr 2022Release notes
Open source →- implement js BigInt workaround to speed up authenticateUser on flutter web
- deprecated pedantic replaced with flutter_lints + code style
-
1.0.506 Feb 2022Release notes
Open source →- Changed: exports client.dart to facilitate using injection for automated testing
-
1.0.414 Jan 2022 -
1.0.305 May 2021 -
1.0.201 May 2021 -
1.0.130 Apr 2021 -
1.0.029 Apr 2021 -
1.0.0-nullsafety.314 Mar 2021 pre-releaseRelease notes
Open source →- Fixed: example
- Fixed: Retrieving data from Storage as
FutureOr<String?>breaks clients - Define
shared_preferencesas actual dependency, remove private file.flutter-plugins-dependenciesand change code to work with latesthttp
-
1.0.0-nullsafety.204 Mar 2021 pre-release -
1.0.0-nullsafety.103 Mar 2021 pre-releaseRelease notes
Open source →- Added optional validationData parameter for
sendCustomChallengeAnswer - Fixed: http.post
- Added optional validationData parameter for
-
1.0.0-nullsafety.022 Feb 2021 pre-release -
0.1.2504 Feb 2021Release notes
Open source →- [Issue #69] Solving "type '_InternalLinkedHashMap<String, String>' is not a subtype of type 'String' of 'value'" bug when ParamsDecorator receives a Map<String, String>.
-
0.1.25+110 Feb 2021 -
0.1.25+202 Mar 2021 -
0.1.25+314 Mar 2021Release notes
Open source →- Fixed: a storage key issue
- Defined a local variable
srp_username, in order to not overrideuservalue
-
0.1.25+422 Mar 2021Release notes
Open source →- Fixed: a storage key issue
- Fixed: broken lastAuthUser lookup in CognitoUser
-
0.1.2412 Jan 2021Release notes
Open source →- [Issue #69] Adding await in the call to analyticsMetadataParamsDecorator in case some implementations need to include async modifier
-
0.1.24+130 Jan 2021Release notes
Open source →- [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
-
0.1.24+230 Jan 2021Release notes
Open source →- [Issue #103] Set confirmed to true when email or phone_number is verified
-
0.1.2310 Jan 2021Release notes
Open source →- [Issue #69] Propagating analyticsMetadataParamsDecorator to CognitoUser from CognitoUserPool
-
0.1.2230 Dec 2020 -
0.1.2118 Dec 2020 -
0.1.2001 Dec 2020 -
0.1.1920 Nov 2020 -
0.1.1814 Nov 2020Release notes
Open source →- added: SecretHash to ConfirmSignUp/ResendConfirmationCode request parameters
-
0.1.1717 Sep 2020 -
0.1.1603 Sep 2020Release notes
Open source →- added: Using an app client secret with '_authenticateUserPlainUsernamePassword'
-
0.1.1517 Jul 2020Release notes
Open source →- fixed: CognitoUser.getCachedDeviceKeyAndPassword as a Future<void>
- removed flutter_test dev dependency
-
0.1.1415 Jun 2020Release notes
Open source →- added: CognitoUser.getDeviceKey method
- added documentation for client secret
-
0.1.1329 May 2020Release notes
Open source →- changed: CognitoUser.updateAttributes and CognitoUser.deleteAttributes return Future<bool>
- added: CognitoUser.getMFAOptions method
-
0.1.1222 Mar 2020Release notes
Open source →- allowed session to be passed to CognitoUser constructor and added federated sign in example to README