Skip to content

Commit

Permalink
Revert #734 (#736)
Browse files Browse the repository at this point in the history
Reverts #734 due to not passing user acceptance testing.
  • Loading branch information
TrekSoft authored Aug 18, 2020
1 parent b5e1e89 commit d46ee7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
import com.amazonaws.mobile.client.results.Tokens;
import com.amazonaws.mobile.client.results.UserCodeDeliveryDetails;
import com.amazonaws.mobile.config.AWSConfiguration;
import com.amazonaws.mobileconnectors.cognitoauth.AuthClient;
import com.amazonaws.mobileconnectors.cognitoidentityprovider.util.CognitoJWTParser;
import com.amazonaws.services.cognitoidentity.model.NotAuthorizedException;
import org.json.JSONException;
Expand All @@ -91,13 +90,6 @@
* A Cognito implementation of the Auth Plugin.
*/
public final class AWSCognitoAuthPlugin extends AuthPlugin<AWSMobileClient> {
/**
* The result code for the activity manging the web UI sign in flow.
* This is needed for handling the response in the onActivityResult method of your activity.
* See the documentation for more information: https://docs.amplify.aws/lib/auth/signin_web_ui/q/platform/android
*/
public static final int WEB_UI_SIGN_IN_ACTIVITY_CODE = AuthClient.CUSTOM_TABS_ACTIVITY_CODE;

private static final String AWS_COGNITO_AUTH_PLUGIN_KEY = "awsCognitoAuthPlugin";
private static final long SECONDS_BEFORE_TIMEOUT = 10;
private static final String COGNITO_USER_ID_ATTRIBUTE = "sub";
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ext {
minSdkVersion = 16
targetSdkVersion = 30

awsSdkVersion = '2.18.0'
awsSdkVersion = '2.17.1'
dependency = [
android: [
desugartools: 'com.android.tools:desugar_jdk_libs:1.0.9',
Expand Down

0 comments on commit d46ee7d

Please sign in to comment.