Skip to content

Commit d46ee7d

Browse files
authored
Revert #734 (#736)
Reverts #734 due to not passing user acceptance testing.
1 parent b5e1e89 commit d46ee7d

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

aws-auth-cognito/src/main/java/com/amplifyframework/auth/cognito/AWSCognitoAuthPlugin.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
import com.amazonaws.mobile.client.results.Tokens;
7474
import com.amazonaws.mobile.client.results.UserCodeDeliveryDetails;
7575
import com.amazonaws.mobile.config.AWSConfiguration;
76-
import com.amazonaws.mobileconnectors.cognitoauth.AuthClient;
7776
import com.amazonaws.mobileconnectors.cognitoidentityprovider.util.CognitoJWTParser;
7877
import com.amazonaws.services.cognitoidentity.model.NotAuthorizedException;
7978
import org.json.JSONException;
@@ -91,13 +90,6 @@
9190
* A Cognito implementation of the Auth Plugin.
9291
*/
9392
public final class AWSCognitoAuthPlugin extends AuthPlugin<AWSMobileClient> {
94-
/**
95-
* The result code for the activity manging the web UI sign in flow.
96-
* This is needed for handling the response in the onActivityResult method of your activity.
97-
* See the documentation for more information: https://docs.amplify.aws/lib/auth/signin_web_ui/q/platform/android
98-
*/
99-
public static final int WEB_UI_SIGN_IN_ACTIVITY_CODE = AuthClient.CUSTOM_TABS_ACTIVITY_CODE;
100-
10193
private static final String AWS_COGNITO_AUTH_PLUGIN_KEY = "awsCognitoAuthPlugin";
10294
private static final long SECONDS_BEFORE_TIMEOUT = 10;
10395
private static final String COGNITO_USER_ID_ATTRIBUTE = "sub";

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ext {
5151
minSdkVersion = 16
5252
targetSdkVersion = 30
5353

54-
awsSdkVersion = '2.18.0'
54+
awsSdkVersion = '2.17.1'
5555
dependency = [
5656
android: [
5757
desugartools: 'com.android.tools:desugar_jdk_libs:1.0.9',

0 commit comments

Comments
 (0)