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

kyc-sdk-react-native

v1.0.13

Published

A React Native SDK for handling KYC authentication, updates, and password management.

Readme

kyc-sdk-react-native

A React Native SDK for handling KYC authentication, updates, and password management.

Installation

Install the package using npm:

npm i kyc-sdk-react-native

Importing the Package

Import the package in your React Native project:

import AcidCheck from "kyc-sdk-react-native";

Usage

Before using the SDK, make sure to install the required Expo dependencies or their bare React Native equivalents. If you are using Expo, you can install the necessary packages with the following command:

npx expo install expo-battery expo-camera expo-device expo-location expo-screen-orientation expo-secure-store @react-native-async-storage/async-storage react-native-view-shot

packages like expo-battery, expo-camera, expo-device, expo-location, expo-screen-orientation, expo-secure-store, @react-native-async-storage/async-storage, and react-native-view-shot are required for the SDK to function properly. If you are not using Expo, you will need to install the bare React Native equivalents of these packages. If you are using a bare React Native project, you can install the necessary packages using npm or yarn:

npm install @react-native-async-storage/async-storage expo-battery expo-camera expo-device expo-location expo-screen-orientation expo-secure-store react-native-view-shot

or

yarn add @react-native-async-storage/async-storage expo-battery expo-camera expo-device expo-location expo-screen-orientation expo-secure-store react-native-view-shot

Make sure to link the native modules if you are not using Expo. For React Native 0.60 and above, autolinking should handle this for you. If you are using an older version, you may need to manually link the packages.

These packages are necessary for the SDK to function properly within your React Native (Expo) project.

Setting Up the Component

import React, { useRef, useState } from "react";
import AcidCheck from "kyc-sdk-react-native";

const MyKYCComponent = () => {
  const allRef = useRef<any>(null); // Create a reference

  const [initializingData, setInitializingData] = useState({
    acid: "", // User identifier
    email: "", // User email
    url: "", // API endpoint
    channel: "", // Communication channel
  });

  const handleAuthenticate = () => {
    if (allRef.current) {
      allRef.current.handleAuthenticateKYC(); // Calls authentication function
    }
  };

  const handleUpdate = () => {
    if (allRef.current) {
      allRef.current.handleUpdateKYC(); // Calls update function
    }
  };

  const handleChangePassword = () => {
    if (allRef.current) {
      allRef.current.changePassword(); // Calls change password function
    }
  };

  const handleResetPassword = () => {
    if (allRef.current) {
      allRef.current.resetPassword(); // Calls reset password function
    }
  };

  return (
    <View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
      <AcidCheck ref={allRef} initializingData={initializingData} />
    </View>
  );
};

export default MyKYCComponent;

API Methods

The AcidCheck component provides the following methods that can be accessed via useRef:

  • handleAuthenticateKYC(): Initiates KYC authentication.
  • handleUpdateKYC(): Updates user KYC information.
  • changePassword(): Triggers a password change process.
  • resetPassword(): Triggers a password reset process.

Props

initializingData (object)

An object containing the following properties:

| Property | Type | Description | | --------- | ------ | --------------------- | | acid | string | User identifier | | email | string | User email | | url | string | API endpoint | | channel | string | Communication channel |

License

This package is licensed under MIT.