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

Fingerprint authentication added in the passcode page #1901

Closed

Conversation

PratyushSingh07
Copy link
Collaborator

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 anything

  • If you have multiple commits please combine them into one commit by squashing them.

@PratyushSingh07
Copy link
Collaborator Author

@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)
Copy link
Contributor

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@rahul-gill on it

@PratyushSingh07
Copy link
Collaborator Author

@rahul-gill kindly review the changes in the PR

@PratyushSingh07
Copy link
Collaborator Author

PratyushSingh07 commented Mar 22, 2023

Closing this PR in accordance with the latest PR #2034

@PratyushSingh07 PratyushSingh07 deleted the fingerprint-auth branch April 9, 2023 16:07
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.

No fingerprint authentication available, only passcode authentication
2 participants