Skip to content

#186 openAuth crashed when going to be closed and then press the cancel button #250

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

Merged
merged 2 commits into from
Apr 7, 2021

Conversation

hikouki
Copy link
Contributor

@hikouki hikouki commented Apr 7, 2021

PR Checklist

What is the current behavior?

openAuth crashed when going to be closed and then press the cancel button.

The completionHandler was called, then redirectResolve to be null by flowDidFinish. After that completionHandler be call again by press the cancel button.

redirectResolve is null, and so crash.

What is the new behavior?

No more crash.

Fixes/Implements/Closes #186.

Copy link
Member

@jdnichollsc jdnichollsc left a comment

Choose a reason for hiding this comment

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

Thanks for your help Houki, please check my little comment! <3

redirectResolve(@{
@"type" : @"success",
@"url" : url,
});
Copy link
Member

Choose a reason for hiding this comment

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

hello mate, can you fix indentation please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, Thank you for review!
I fixed it. ✈️

@jdnichollsc jdnichollsc merged commit 7b34bca into proyecto26:develop Apr 7, 2021
@jdnichollsc
Copy link
Member

Thanks for your contribution! <3

@isidoro98
Copy link

Hey @jdnichollsc are you planning on a release with this fix?

Thanks

@jdnichollsc
Copy link
Member

Today <3

@jdnichollsc jdnichollsc mentioned this pull request Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

openAuth crashed when going to be closed and then press the cancel button
3 participants