-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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-5717] Fix calling methods on undefined in biometrics service #7559
[PM-5717] Fix calling methods on undefined in biometrics service #7559
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #7559 +/- ##
==========================================
- Coverage 63.42% 61.04% -2.39%
==========================================
Files 797 793 -4
Lines 22505 23219 +714
Branches 4489 4660 +171
==========================================
- Hits 14274 14174 -100
- Misses 7400 8188 +788
- Partials 831 857 +26 ☔ View full report in Codecov by Sentry. |
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.
This looks good to me, thanks!
…m-5717/fix-calling-init-on-undefined-in-biometrics-service
@willmartian: QA found some more calls that failed, due to not being implemented. Instead of using guard-clauses on each method, I've decided to create a |
…m-5717/fix-calling-init-on-undefined-in-biometrics-service
Fixed Issues
|
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.
Great refactor, thank you.
…biometrics-service
Type of change
Objective
Reading a bug report on GH, I saw some console output where the biometrics service was not being able to call init.
Curious to why this might be happening, I had a look at the biometrics-service. The issue, is that we currently do not support biometrics on Linux and no platform-specific instance exists. So we try calling init on undefined.
Code changes
Before you submit