SprintCheck

Client SDKs

Expo SDK

sprintcheck-expo brings the same BVN, NIN and facial flows to Expo projects, with TypeScript types included. Works with managed and bare workflows.

v1.0.5TypeScriptsprintcheck-exponpm
Android only for now — iOS support is on the way. Requires Expo SDK 49+, React Native 0.70+ and Android API level 24+.

Install & configure

Terminal
npm install sprintcheck-expo
# or
yarn add sprintcheck-expo

The SDK uses native modules, so generate the native project, register the package, and run a development build:

Terminal
expo prebuild
android/app/src/main/java/.../MainApplication.kt
import com.sprintcheckrn.SprintCheckPackage

// inside getPackages()
packages.add(SprintCheckPackage())
Terminal
expo run:android

Initialize & verify

TypeScript
import SprintCheck from 'sprintcheck-expo';

const init = await SprintCheck.initialize({
  apiKey: SPRINTCHECK_API_KEY,
  encryptionKey: SPRINTCHECK_ENCRYPTION_KEY,
});
if (!init.success) throw new Error(init.error);

const result = await SprintCheck.startBvnVerification('user@email.com');
// also: startNinVerification(email), startFacialVerification(email)

if (result.success) {
  console.log(result.data);
}

Every method resolves to a VerificationResult { success, message, data?, error? }. If the build complains that SprintCheck is not linked, re-run expo prebuild --clean.

The SDK needs your api_key and encryption_key — both are under Developers in your dashboard. Every completed verification also lands on your webhook and in your dashboard's verification history.