79177027

Date: 2024-11-11 09:20:16
Score: 1
Natty:
Report link

You can’t directly access raw fingerprint data in Flutter because both Android and iOS keep biometric data private and only allow apps to verify users, not retrieve their data. However, there’s a straightforward workaround to achieve similar functionality.

Solution Use Biometric Authentication: First, authenticate the user’s fingerprint with local_auth. If the fingerprint matches, this confirms their identity without actually exposing the raw data.

Send a Secure Token Over BLE: Instead of sending fingerprint data, you can send a unique token or message to the Bluetooth (BLE) device, which acts as proof that the user is verified. You can handle this Bluetooth connection using a package like flutter_reactive_ble.

Quick Summary Biometric data can’t be accessed directly—it’s locked down for privacy. Workaround: Authenticate the user with biometrics and send a secure token as a stand-in for the fingerprint.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Omar alhaj ali