AWS SDK for Android 2.18.0
·
591 commits
to main
since this release
Release 2.18.0
Version 2.18.0 introduces breaking changes against 2.17.1.
Breaking Updates
- aws-android-sdk-mobile-client:
- No breaking changes code-wise but if you already setup HostedUI for an older version of the SDK,
you'll need to follow the steps in the updated documentation
to properly handle the response going forward.
- No breaking changes code-wise but if you already setup HostedUI for an older version of the SDK,
- aws-android-sdk-cognitoauth:
getSession()method has been refactored togetSession(Activity activity), whereactivityis an instance of
the activity the user is calling this method from. It uses this to launch HostedUI if it needs to sign in again.getSession(boolean launchWebUIIfExpired)has been refactored togetSessionWithoutWebUI(). It will get session
information if the refresh token is still valid, otherwise will throw an exception indicating the user must sign in
again.
Bug Fixes
- aws-android-sdk-mobile-client:
getTokens()was making a network call every time it was used, negating any benefit of cached tokens. Removed
the unnecessary network call so it now correctly returns cached tokens when available with no network call (Issue #1722)