Socket
Book a DemoInstallSign in
Socket

react-native-simpl-fingerprint-sdk

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-simpl-fingerprint-sdk

A React Native wrapper for Simpl FingerPrint SDK

1.0.3
latest
npmnpm
Version published
Weekly downloads
11
266.67%
Maintainers
2
Weekly downloads
 
Created
Source

React Native Library for Simpl FingerPrint Sdk

[![Version][version-badge]][package]

This project serves as a Simpl FingerPrint Sdk wrapper for React Native. Currently supported React Native version: >= 0.50.3

Installation

Using npm:

npm install --save react-native-simpl-fingerprint-sdk

or using yarn:

yarn add react-native-simpl-fingerprint-sdk

Examples

Example app lives in example directory

Linking

React-native from v0.60 supports auto linking so none of the folwing steps are required.

Run the following command to link the SDK to Android and iOS

react-native link react-native-simpl-fingerprint-sdk

Add native SDK

Android

Add the following to android/app/build.gradle:

...

repositories {
    maven { url "http://maven.getsimpl.com"}
}

dependencies {
    ...
    compile project(':react-native-simpl-fingerprint-sdk')
    compile "com.simpl.android:fingerprintSDK:+"
}

iOS

If you are using Cocoapods, Add FingerPrint SDK to your Podfile

pod 'react-native-simpl-fingerprint-sdk', :podspec => '../node_modules/react-native-simpl-fingerprint-sdk/react-native-simpl-fingerprint-sdk.podspec

Then run,

pod install

If you are not using Cocoapods, Link the Framework from here manually.

Usage

For generating fingerprint data:

import Simpl from "react-native-simpl-fingerprint-sdk";
//Get Payload
Simpl.generateFingerprint(
  "<client_id>",
  "<phone_number>",
  "<email>",
  (payload) => {
    console.log("Fingerprint", payload);
  }
);

Keywords

simpl

FAQs

Package last updated on 05 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.