aws-sdk-android v2.18.0 Release Notes
Release Date: 2020-08-18 // over 3 years ago-
๐ 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)
, whereactivity
is 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)
- aws-android-sdk-mobile-client: