Reputation: 41
I want to create a employee attendance app having finger print sensing. I want to register each employee finger prints in local database and when employee logins with fingerprint it should be verified with value in database.Can anyone please help me? Is it possible to register multiple users using fingerprint sensors in marshmallow phones?
Upvotes: 1
Views: 1600
Reputation: 130
As of now, you can only use the stored fingerprints to check the authenticity of the user, but you cannot store the unique fingerprints while capturing them through the fingerprint sensor.
This is a big limitation of Android's fingerprint sensor, and hopefully/maybe the future updates of Android will take into account of the usability of the fingerprint sensor to get unique fingerprints to store(as you wanted).
This limitation is present currently in Android's ecosystem to prevent security risks involved with the fingerprint sensor, if used by some malicious app. Through this, it can get the bio-metric details of the user, which may attract huge privacy issues and other security issues about the android's security ecosystem.
Hope it helps and explains the limitation well.
Upvotes: 0
Reputation: 2893
As per Nexus FAQs
Your fingerprint data is stored securely and never leaves your Pixel or Nexus phone. Your fingerprint data isn't shared with Google or any apps on your device. Apps are notified only whether your fingerprint was verified.
FingeprintManager only has these 3 features:
authenticate()
: for authenticating user
hasEnrolledFingerprints()
: Determine if there is at least one fingerprint enrolled.
isHardwareDetected()
: Determine if fingerprint hardware is present and functional.
There is no feature to get fingerprint id from the sensor.So your idea of storing fingerprints in database won't work.
Upvotes: 4