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 🙏

© 2026 – Pkg Stats / Ryan Hefner

crossplatform-react-vidvauth

v1.0.0

Published

React Native bridge for legacy VIDV Auth SDK 2.3.x (Valify token + Digital Identity)

Readme

crossplatform-react-vidvauth

React Native bridge for the legacy VIDV Auth SDK 2.3.x — aligned with the Flutter plugin crossplatform_flutter_vidvauth branch development_v2.

Version: 1.0.0 (legacy Valify token + Digital Identity line; for Auth SDK 3.x / OIDC use the development / 1.0.0-kyx branch).

Features

  • Turbo Module bridge for Android and iOS
  • Same startAuth argument map and JSON response envelope as Flutter development_v2
  • Bundled example app with legacy demo UI (Valify OAuth token + auth modes)
  • Native SDK: Android vidvauthsdk 2.3.0, iOS VIDVAuth ~> 2.3.0

Installation

npm install [email protected]

Follow docs/INTEGRATOR_GUIDE.md for Android manifest entries, Maven repos, and host-app setup.

Usage

import { VIDVAuth } from 'crossplatform-react-vidvauth';

const auth = new VIDVAuth();

const raw = await auth.start({
  base_url: 'https://digitalidentity.valifystage.com',
  bundle_key: 'YOUR_DI_BUNDLE_KEY',
  language: 'en',
  user_reference_id: 'UFID-123',
  auth_mode: 'login',
  phone: '+201234567890',
  valify_access_token: 'YOUR_VALIFY_ACCESS_TOKEN',
  valify_base_url: 'https://qa.valifystage.com',
  valify_bundle_key: 'YOUR_VALIFY_BUNDLE_KEY',
  document_type: 'egyNid',
});

const envelope = JSON.parse(raw);
// envelope.state => SUCCESS | ERROR | FAILURE | EXIT | NEXT_ACTION

See docs/RESPONSE_HANDLING.md for the full response contract.

Run the local example

The example lives in example/ and mirrors the Flutter legacy demo (development_v2).

# Install (from repo root)
npm install

# Terminal 1 — Metro
npm run example:start

# Terminal 2 — Android
npm run example:android

# Terminal 2 — iOS (macOS)
cd example && bundle exec pod install --project-directory=ios && cd ..
npm run example:ios

Or with npx from the example/ folder:

cd example
npx react-native start          # terminal 1
npx react-native run-android    # terminal 2

Full step-by-step guide: docs/RUN_GUIDE.md

Project layout

crossplatform-react-vidvauth/
├── src/                 # JS/TS API (VIDVAuth)
├── android/             # Kotlin Turbo Module + VIDV SDK 2.3.x
├── ios/                 # Swift helper + ObjC++ Turbo Module
├── example/             # Local demo app (Legacy Auth Demo UI)
└── docs/                # Integrator + run guides

Contributing

License

MIT