You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed bug that caused `CognitoDeviceHelper.getDeviceKey` to return null on certain cases. See [issue #259](https://github.com/aws/aws-sdk-android/issues/259)
9
+
- Fixed bug where `onSuccess` callback was missing from `verifyAttribute` function. See [issue #266](https://github.com/aws/aws-sdk-android/issues/266)
10
+
11
+
-**Amazon Pinpoint**
12
+
- Fix crash in Pinpoint SDK when getting locale's country code.
Copy file name to clipboardExpand all lines: aws-android-sdk-cognito/pom.xml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,14 @@
6
6
<artifactId>aws-android-sdk-cognito</artifactId>
7
7
<packaging>jar</packaging>
8
8
<name>AWS SDK for Android - Amazon Cognito Sync</name>
9
-
<version>2.4.5</version>
9
+
<version>2.4.6</version>
10
10
<description>The AWS Android SDK for Amazon Cognito Sync module holds the client classes that are used for communicating with Amazon Cognito Sync Service</description>
<name>AWS SDK for Android - Amazon Cognito Identity Provider</name>
9
-
<version>2.4.5</version>
9
+
<version>2.4.6</version>
10
10
<description>The AWS Android SDK for Amazon Cognito Identity Provider module holds the client classes that are used for communicating with Amazon Cognito Identity Provider Service</description>
Copy file name to clipboardExpand all lines: aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/mobileconnectors/cognitoidentityprovider/CognitoUser.java
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1172,6 +1172,7 @@ public void verifyAttribute(String attributeName,
Copy file name to clipboardExpand all lines: aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/mobileconnectors/cognitoidentityprovider/CognitoUserSession.java
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -117,4 +117,24 @@ public boolean isValidForThreshold() {
117
117
returnfalse;
118
118
}
119
119
}
120
+
121
+
/**
122
+
* Returns username contained in this session.
123
+
* <p>
124
+
* Reads the username from Access Tokens.
125
+
* Returns null on Exceptions - This would mean that the contained tokens are not parsable
126
+
* and hence are not valid.
127
+
* </p>
128
+
* @return Username of the user to whom these tokens belong.
0 commit comments