react-native-riskified-sdk
Riskified's react native wrapper for mobile SDK's
Installation
npm install @riskified/react-native-riskified-sdk
Usage
import RiskifiedSdk from '@riskified/react-native-riskified-sdk';
// on main page load
RiskifiedSdk.startBeacon(shopDomain, token, false);
// on significant events and page visits
RiskfiedSdk.logRequest("https://<requestUrl>");
// if session ID updates for the user
RiskifiedSdk.updateSessionToken(newToken);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library