@seontechnologies/seon-react-native-mobile-wrapper
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

SEON Mobile SDK React Native Wrapper

You can integrate our device fingerprinting module into your React Native project. It contains an SDK for both Android and iOS apps. You can find more info about the iOS and Android SDK on GitHub. Install the npm package in your existing project:

Installation

npm install @seontechnologies/seon-react-native-mobile-wrapper

Usage

import Seon from '@seontechnologies/seon-react-native-mobile-wrapper';

// ...
// set session id
Seon.setSessionId('CUSTOM-SESSION-ID');
// enable logging
Seon.setLoggingEnabled(true);
// generate fingeprint
try {
    const fingerprint = await Seon.getFingerprintBase64();
} catch (e) {
    //...handle error
}
// call the Fraud API with the generated fingeprint from your backend

/@seontechnologies/seon-react-native-mobile-wrapper/

    Package Sidebar

    Install

    npm i @seontechnologies/seon-react-native-mobile-wrapper

    Homepage

    seon.io

    Weekly Downloads

    208

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    26.1 kB

    Total Files

    20

    Last publish

    Collaborators

    • seontechnologies-publisher