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

No phone Auth flow #801

Merged
merged 4 commits into from
Sep 28, 2023
Merged

No phone Auth flow #801

merged 4 commits into from
Sep 28, 2023

Conversation

GhenadieVP
Copy link
Contributor

@GhenadieVP GhenadieVP commented Sep 27, 2023

https://radixdlt.atlassian.net/browse/ABW-2335
handle no auth flows + moving gateways check to main + some dependencies clean up.

Demo:

RPReplay_Final1695826982.MP4

handle no auth flows + moving gateways check to main + some dependencies clean up
return .run { send in
await send(.internal(.loadProfileOutcome(loadProfile())))
}
return verifyPasscode()
Copy link
Contributor Author

@GhenadieVP GhenadieVP Sep 27, 2023

Choose a reason for hiding this comment

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

Verify the passcode again when user taps unlock. This was the main source of the bug, as loading the profile will succeed and then the user will be redirected to home screen,

state.biometricsCheckFailed = true
errorQueue.schedule(error)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Show any error, in some cases the kechain will throw the error that there is no keychain configured.

Copy link
Contributor

@CyonAlexRDX CyonAlexRDX left a comment

Choose a reason for hiding this comment

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

NICE! LGTM!

Tested locally on iOS 17 device (only where I wanted to remove passcode), worked great.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants