Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AWSMobileClient] Add non-null check in accessing fields of SignUpResult #1272

Merged
merged 1 commit into from
Nov 1, 2019

Conversation

mutablealligator
Copy link
Contributor

Issue #, if available:

#1264

Description of changes:

When the user is confirmed, Cognito does not send CognitoUserCodeDeliveryDetails
and it appears to be null when the SignUpResult is unmarshalled. Extract the
CognitoUserCodeDeliveryDetails only when the user is not confirmed.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mutablealligator mutablealligator self-assigned this Oct 24, 2019
Copy link
Contributor

@TrekSoft TrekSoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good other than I see a couple .idea files committed

@mutablealligator mutablealligator merged commit 0867590 into develop Nov 1, 2019
@mutablealligator mutablealligator deleted the vb-awsmobileclient-signupresult-bug branch November 1, 2019 15:53
awsmobilesdk pushed a commit to awsmobilesdk/aws-sdk-android that referenced this pull request Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile client Issues with AWS Mobile's client-side Cognito wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants