Skip to Content
Identomic SDK Docs

Install the Expo / React Native SDK

Try the local Expo SDK preview and launch Identomic’s native fingerprint UI from React Native.

View as Markdown

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.

Terminal
cd example
npm install

Build 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.

Terminal
# Android
npm run android

# iOS
npx expo run:ios --device

Open 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.

TypeScript
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.