Install the Expo / React Native SDK
Try the local Expo SDK preview and launch Identomic’s native fingerprint UI from React Native.
Install the local preview
Get the Identomic Expo SDK checkout and run these commands from its root. The Expo SDK 57 example installs @identomic/expo from the local checkout.
cd example
npm installBuild the demo for your device
Run one of the commands below from the example directory. Connect a physical Android device or an iPhone running iOS 26 or later. Expo Go does not contain the native Identomic module.
# Android
npm run android
# iOS
npx expo run:ios --deviceOpen the fingerprint scanner
Use captureFingerprints from a user action in React Native. The same TypeScript call presents the native Identomic capture and review screens on both platforms.
import {
captureFingerprints,
isFingerprintCaptureAvailable,
} from '@identomic/expo';
export async function startCapture(): Promise<string> {
if (!isFingerprintCaptureAvailable()) {
return 'Build the app with the Identomic native module.';
}
const outcome = await captureFingerprints();
switch (outcome.status) {
case 'completed': {
const { fingers } = outcome.capture;
const count = fingers.reduce((total, finger) => total + finger.images.length, 0);
return 'Received ' + fingers.length + ' fingers and ' + count + ' PNGs.';
}
case 'cancelled':
return 'Capture cancelled.';
case 'failed':
return 'Capture failed: ' + outcome.reason;
}
}Read the result
A completed capture contains four finger results with PNG dimensions and base64 bytes. The preview exposes fingerprint capture. Face, passport, and standards template exports are pending for this package.