Skip to content

Commit ea4e089

Browse files
authored
Updates changelog, adds default gradle value (#2070)
Adds a filler gradle value for the URI scheme since without that, it will have a build time failure even if the user isn't using HostedUI. Also updates the Changelog with the documentation users will need to migrate.
1 parent 05b4e68 commit ea4e089

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Change Log - AWS SDK for Android
22

3+
## [Release 2.18.0](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.18.0)
4+
5+
*Version 2.18.0 introduces breaking changes against 2.17.1.*
6+
7+
### Breaking Updates
8+
- aws-android-sdk-mobile-client:
9+
- No breaking changes code-wise but if you already setup HostedUI for an older version of the SDK,
10+
you'll need to follow the steps in the [updated documentation](https://docs.amplify.aws/sdk/auth/hosted-ui/q/platform/android#setup-amazon-cognito-hosted-ui-in-android-app)
11+
to properly handle the response going forward.
12+
- aws-android-sdk-cognitoauth:
13+
- `getSession()` method has been refactored to `getSession(Activity activity)`, where `activity` is an instance of
14+
the activity the user is calling this method from. It uses this to launch HostedUI if it needs to sign in again.
15+
- `getSession(boolean launchWebUIIfExpired)` has been refactored to `getSessionWithoutWebUI()`. It will get session
16+
information if the refresh token is still valid, otherwise will throw an exception indicating the user must sign in
17+
again.
18+
319
## [Release 2.17.0](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.17.0)
420

521
*Version 2.17.0 introduces breaking changes against 2.16.13.*

aws-android-sdk-cognitoauth/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ android {
99
targetSdkVersion 29
1010
versionCode 1
1111
versionName '1.0'
12+
13+
manifestPlaceholders = [
14+
'authRedirectScheme': 'FOR_LIBRARY_CONSUMER_TO_OVERRIDE'
15+
]
1216
}
1317

1418
compileOptions {

0 commit comments

Comments
 (0)