-
Notifications
You must be signed in to change notification settings - Fork 691
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
Fingerprint authentication added in the passcode page #1901
Fingerprint authentication added in the passcode page #1901
Conversation
@IOhacker @rahul-gill pardon my naivete and the constant tagging but can you please review this PR as well |
@@ -15,15 +30,42 @@ import org.mifos.mobile.utils.Constants | |||
import org.mifos.mobile.utils.MaterialDialog | |||
import org.mifos.mobile.utils.Toaster | |||
|
|||
@RequiresApi(Build.VERSION_CODES.M) |
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.
Will cause crash on api lower than M. Pull out the biometric thing seperate like this, check if device has biometric capabilities and then based on that, show the biometric 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.
@rahul-gill on it
5b58532
to
52fac26
Compare
@rahul-gill kindly review the changes in the PR |
Closing this PR in accordance with the latest PR #2034 |
Fixes #1208
https://user-images.githubusercontent.com/90026952/216406124-2182f61f-ff11-4a1f-8c00-9cb7c345c0f4.mp4
Above video can be summarized by the below points :
Fingerprint authentication is opened during the passcode activity
Authentication reappears after exiting the app
when setting up the new pin it doesn't ask for the fingerprint scanner
Apply the
AndroidStyle.xml
style template to your code in Android Studio.Run the unit tests with
./gradlew check
to make sure you didn't break anythingIf you have multiple commits please combine them into one commit by squashing them.