# react-native-cybersource-fingerprint-sdk

> cybersource fingerprint

Latest version **0.1.0** (published 2024-11-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-cybersource-fingerprint-sdk
pnpm add react-native-cybersource-fingerprint-sdk
yarn add react-native-cybersource-fingerprint-sdk
bun add react-native-cybersource-fingerprint-sdk
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; large bundle; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2024-11-25 |
| First published | 2021-09-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 13.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | unimart |
| Maintainers | vicvans20, oswaldflm |
| Keywords | react-native, ios, android |

## Links

- npm: https://www.npmjs.com/package/react-native-cybersource-fingerprint-sdk
- Repository: https://gitlab.com/vicvans20/react-native-cybersource-fingerprint-sdk
- Homepage: https://gitlab.com/vicvans20/react-native-cybersource-fingerprint-sdk#readme
- Issues: https://gitlab.com/vicvans20/react-native-cybersource-fingerprint-sdk/issues
- npm.io page: https://npm.io/package/react-native-cybersource-fingerprint-sdk

## Dependencies (1)

- [@react-native-community/eslint-plugin](https://npm.io/package/@react-native-community/eslint-plugin.md) ^1.3.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2024-11-25
- 0.2.0 — 2021-09-08

## README

# react-native-cybersource-fingerprint-sdk

Basic implementation of Cybersource fingerprint SDK for android and iOS

SDK configuration requires a valid `ORG_ID` and `SERVER_URL` that are provided by cybersource. Also `MERCHANT_ID` is required to match sessionID with decision manager.

## Installation

NOTE: Tested with RN 0.63+

```sh
yarn add react-native-cybersource-fingerprint-sdk
```

## Usage

```js
import CybersourceFingerprintSdk from "react-native-cybersource-fingerprint-sdk";

// Once in app lifetime
CybersourceFingerprintSdk.initialize('ORG_ID', 'SERVER_URL'); // return true if successful

// ...

// Generate and send sessionID each time a transaction should be processed
const sessionId = generateUniqueValue();
const result = await CybersourceFingerprintSdk.setSessionID(`MERCHANT_ID${sessionId}`); // return Promise<object> as { status: int, sessionId: string }
```

## Development

Native module code is within the folders:
* /android
* /ios

To test the libs functionality and usage on react-native, open the projects inside `example`
```sh
xed example/ios
```

Remember to install node modules and pods.

## License

MIT

---
_Source: https://npm.io/package/react-native-cybersource-fingerprint-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
