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

react-native-meon-rekyc

v1.0.15

Published

Re-KYC SDK for React Native with company login and deeplink WebView flow

Readme

react-native-meon-rekyc

Re-KYC SDK for React Native. It logs in with company credentials, generates a deeplink, and opens the Re-KYC journey inside a WebView.

Installation

npm install react-native-meon-rekyc react-native-webview react-native-permissions

iOS

Required: Add setup_permissions in ios/Podfile (without this, IPV/camera will crash):

def node_require(script)
  require Pod::Executable.execute_command('node', ['-p',
    "require.resolve('#{script}', {paths: [process.argv[1]]})", __dir__]).strip
end

node_require('react-native/scripts/react_native_pods.rb')
node_require('react-native-permissions/scripts/setup.rb')

platform :ios, min_ios_version_supported
prepare_react_native_project!

setup_permissions([
  'Camera',
  'Microphone',
  'LocationWhenInUse',
])

Then:

cd ios && pod install

Add permissions in Info.plist:

<key>NSCameraUsageDescription</key>
<string>Camera permission is required for Re-KYC verification</string>
<key>NSMicrophoneUsageDescription</key>
<string>Microphone permission is required for Re-KYC verification</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Location permission is required for Re-KYC verification</string>

Android

Add permissions in AndroidManifest.xml:

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />

Usage

import React from 'react';
import { View } from 'react-native';
import MeonReKYC from 'react-native-meon-rekyc';

const ReKycScreen = () => {
  return (
    <View style={{ flex: 1 }}>
      <MeonReKYC
        username="" //[email protected]
        password="" //123456
        company_id="" //1
        workflow_id="7cd3b329-7b79-46c4-b4f3"
        client_code="" //meon
        baseURL="https://rekyc.meon.co.in"
        onSuccess={(data) => console.log('Re-KYC ready:', data)}
        onError={(error) => console.log('Re-KYC error:', error)}
        onClose={() => console.log('Re-KYC closed')}
      />
    </View>
  );
};

export default ReKycScreen;

API Flow

  1. POST /v1/company/company-login with username, password, company_id
  2. GET /v1/company/get_deep_link/{workflow_id}/{client_code} with Authorization: Bearer <access_token>
  3. Open data.deeplink in WebView

Props

| Prop | Type | Required | Default | Description | |------|------|----------|---------|-------------| | username | string | Yes | - | Company login username | | password | string | Yes | - | Company login password | | company_id | string | Yes | - | Company ID | | workflow_id | string | Yes | - | Workflow ID | | client_code | string | Yes | - | Client code | | baseURL | string | No | https://rekyc.meon.co.in | Re-KYC API base URL | | onSuccess | function | No | - | Called when deeplink is ready | | onError | function | No | - | Called on API or WebView error | | onClose | function | No | - | Called when user closes | | showHeader | boolean | No | true | Show header bar | | headerTitle | string | No | Re-KYC | Header title | | autoRequestPermissions | boolean | No | true | Request camera/mic/location | | showRefreshButton | boolean | No | false | Header refresh (reload WebView) | | userAgent | string | No | Safari (iOS) / Chrome (Android) | WebView user agent (fixes date picker on iOS) | | enableWebViewDebug | boolean | No | __DEV__ | Bridge console/errors to Metro via onWebMessage | | onWebMessage | function | No | - | Receives { bridge, message, level, ... } from WebView | | customStyles | object | No | {} | Style overrides |

Exported Helpers

import { companyLogin, getDeepLink, initializeReKycSession } from 'react-native-meon-rekyc';

License

MIT