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

Add a state machine to AppLockFlowCoordinator. #2166

Merged
merged 6 commits into from
Nov 24, 2023
Merged

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Nov 24, 2023

Previously, cancelling Face ID would loop back round and present the Face ID prompt again when becoming active. Fixing that revealed a few more edge cases one-by-one so I added a state machine to drive the flow instead.

Fixes #2134.

AppLock.mp4

@pixlwave pixlwave requested a review from a team as a code owner November 24, 2023 13:46
@pixlwave pixlwave requested review from stefanceriu and removed request for a team November 24, 2023 13:46
Copy link

github-actions bot commented Nov 24, 2023

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.

Generated by 🚫 Danger Swift against 28d94e0

Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

Very nice addition, everything is clearer to follow now 👏

Fixes a bug when cancelling Face ID would loop back round to presenting Face ID.
- UI tests initial expectations.
- Unit tests compile error.
@pixlwave pixlwave force-pushed the doug/app-lock-state branch from d355569 to 28d94e0 Compare November 24, 2023 15:43
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pixlwave pixlwave enabled auto-merge (squash) November 24, 2023 15:57
@pixlwave pixlwave merged commit 9a52dcf into develop Nov 24, 2023
5 checks passed
@pixlwave pixlwave deleted the doug/app-lock-state branch November 24, 2023 16:03
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.

Cancelling Face ID no longer presents the PIN screen.
2 participants