Quick Answer: Create an RSA key pair on the phone with react-native-biometrics , send only the public key to your server, and at login have the phone sign a one-time challenge after a biometric check. Your server verifies the signature and issues a session. No fingerprint, face scan, or template ever leaves the device.
Biometric login is easy to bolt on badly. The shortcut is to trust a "success" boolean from the app, which anyone can fake on a modified build.
This tutorial builds the proper version end to end: client, server, and tests. It is a design pattern, not legal advice, and we explain why it reduces what your app holds in our guide to what to check before hiring a mobile app development company in Chicago , where Illinois' BIPA makes biometric data a real liability.
What Are We Building?
A three-step flow: enroll a device, request a challenge, and verify a signature.…