-
Notifications
You must be signed in to change notification settings - Fork 53
[PM-10450] Fix FIdo2 never lock user verification not appearing #787
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
[PM-10450] Fix FIdo2 never lock user verification not appearing #787
Conversation
…ws, so it waits until the view has appeared in order to continue prompting the user.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #787 +/- ##
==========================================
- Coverage 88.19% 88.16% -0.03%
==========================================
Files 577 577
Lines 29213 29229 +16
==========================================
+ Hits 25763 25771 +8
- Misses 3450 3458 +8 ☔ View full report in Codecov by Sentry. |
No New Or Fixed Issues Found |
// WORKAROUND: We need to wait until the view controller appears in order to perform any | ||
// action that needs user interaction or it might not show the prompt to the user. | ||
// E.g. without this there are certain devices that don't show the FaceID prompt | ||
// and the user only sees the screen dimming a bit and failing the flow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
||
// WORKAROUND: We need to wait until the view controller appears in order to perform any | ||
// action that needs user interaction or it might not show the prompt to the user. | ||
// E.g. without this there are certain devices that don't show the FaceID prompt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛏️ "E.g." means "for example" ("exempli gratia"); if you want "that is" or "in other words", that'd be "i.e." ("id est")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted exampli gratia, as there are other cases in which this happens as setting up the PIN.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, wasn't sure!
@@ -2,6 +2,7 @@ import AuthenticationServices | |||
import BitwardenSdk | |||
import Combine | |||
import Foundation | |||
import OSLog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛏️ If we don't have logs in the file we shouldn't have this
🎟️ Tracking
PM-10450
📔 Objective
Fix Fido2 flow user verification not appearing when in an account with never lock timeout.
The problem arises because of trying to perform user interaction, e.g. prompting for FaceID, before
viewDidAppear
happens. So as a solution we just for it to happen before continuing with user interaction flows.⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes