Socket
Socket
Sign inDemoInstall

react-native-simpl-fingerprint-sdk

Package Overview
Dependencies
0
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-simpl-fingerprint-sdk

A React Native wrapper for Simpl FingerPrint SDK


Version published
Weekly downloads
16
increased by128.57%
Maintainers
2
Install size
1.75 MB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 05 Nov 2020

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc