@seontechnologies/seon-react-native-mobile-wrapper
v2.0.0
Published
SEON Mobile SDK React Native Wrapper
Downloads
3,041
Readme
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