CP-12051 - Hide biometric button if biometrics prompt fails #3381
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Ticket: CP-12051
Implement error handling for determining if user has denied biometric permissions in order to hide the biometric login button.
Screenshots/Videos
ScreenRecording_11-28-2025.21-02-22_1.MOV
ScreenRecording_12-01-2025.16-14-55_1.MOV
Testing
iOS - 6676
Android - 6677
case 1: iOS fresh app install
-> activate biometrics on setup
-> exit app and return to get the pin screen
-> deny permissions to use biometrics
-> biometrics button is not displayed
case 2: installed app
-> exit app
-> reopen and fail biometric auth on purpose (cover face or use unregistered finger print)
-> hit cancel on prompt
-> biometric login button should be present and request biometric when tapped
Checklist
Please check all that apply (if applicable)