npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

sprintcheck-expo

v1.0.5

Published

SprintCheck SDK for Expo - Identity verification (BVN, NIN, Facial) for React Native Expo projects

Readme

SprintCheck SDK for Expo

A React Native Expo SDK for identity verification services including BVN (Bank Verification Number), NIN (National Identification Number), and Facial verification.

Features

  • 🏦 BVN Verification - Verify Bank Verification Numbers
  • 🆔 NIN Verification - Verify National Identification Numbers
  • 👤 Facial Verification - Biometric facial verification
  • 📱 Expo Compatible - Works with Expo managed and bare workflows
  • 🔒 Secure - End-to-end encryption for sensitive data
  • 🚀 Easy Integration - Simple API with TypeScript support

Installation

npm install sprintcheck-expo

or

yarn add sprintcheck-expo

Configuration

1. Prebuild your project

Since this SDK uses native modules, you need to generate the native code:

expo prebuild

2. Add this to your MainApplication.kt

import com.sprintcheckrn.SprintCheckPackage

packages.add(SprintCheckPackage())

3. Run your project

expo run:android

Note: Currently only Android is supported. iOS support coming soon.

Usage

Basic Setup

import SprintCheck from 'sprintcheck-expo';

// Initialize the SDK
const initializeSDK = async () => {
  const result = await SprintCheck.initialize({
    apiKey: 'your-api-key',
    encryptionKey: 'your-encryption-key'
  });
  
  if (result.success) {
    console.log('SDK initialized successfully');
  } else {
    console.error('Failed to initialize SDK:', result.error);
  }
};

BVN Verification

const verifyBVN = async (email: string) => {
  try {
    const result = await SprintCheck.startBvnVerification(email);
    
    if (result.success) {
      console.log('BVN verification started:', result.data);
    } else {
      console.error('BVN verification failed:', result.error);
    }
  } catch (error) {
    console.error('Error:', error);
  }
};

NIN Verification

const verifyNIN = async (email: string) => {
  try {
    const result = await SprintCheck.startNinVerification(email);
    
    if (result.success) {
      console.log('NIN verification started:', result.data);
    } else {
      console.error('NIN verification failed:', result.error);
    }
  } catch (error) {
    console.error('Error:', error);
  }
};

Facial Verification

const verifyFace = async (email: string) => {
  try {
    const result = await SprintCheck.startFacialVerification(email);
    
    if (result.success) {
      console.log('Facial verification started:', result.data);
    } else {
      console.error('Facial verification failed:', result.error);
    }
  } catch (error) {
    console.error('Error:', error);
  }
};

API Reference

initialize(config: SprintCheckConfig): Promise<VerificationResult>

Initializes the SprintCheck SDK with your API credentials.

Parameters:

  • config.apiKey (string): Your SprintCheck API key
  • config.encryptionKey (string): Your encryption key

Returns: Promise resolving to a VerificationResult

startBvnVerification(email: string): Promise<VerificationResult>

Starts the BVN verification process.

Parameters:

  • email (string): User's email address

Returns: Promise resolving to a VerificationResult

startNinVerification(email: string): Promise<VerificationResult>

Starts the NIN verification process.

Parameters:

  • email (string): User's email address

Returns: Promise resolving to a VerificationResult

startFacialVerification(email: string): Promise<VerificationResult>

Starts the facial verification process.

Parameters:

  • email (string): User's email address

Returns: Promise resolving to a VerificationResult

getInitializationStatus(): boolean

Returns the current initialization status of the SDK.

Types

interface SprintCheckConfig {
  apiKey: string;
  encryptionKey: string;
}

interface VerificationResult {
  success: boolean;
  message: string;
  data?: any;
  error?: string;
}

Requirements

  • Expo SDK 49+
  • React Native 0.70+
  • Android API level 24+
  • Node.js 16+

Troubleshooting

Common Issues

  1. "SprintCheck doesn't seem to be linked" error

    • Make sure you've run expo prebuild
    • Ensure the plugin is properly configured in your app.json
    • Try cleaning and rebuilding: expo prebuild --clean
  2. Build errors on Android

    • Ensure your Android SDK is up to date
    • Check that minSdkVersion is at least 24
    • Try running cd android && ./gradlew clean
  3. Plugin not found

    • Make sure you've installed the package correctly
    • Verify the plugin path in your app.json configuration

Getting Help

If you encounter issues:

  1. Contact support at [email protected]

License

MIT License - see LICENSE file for details.

Support