React Native SDK Integration Guide
IMPORTANT
The React Native SDK is currently being worked on and an updated version will be released shortly. We strongly recommend waiting until the updated version is completed before integration. Please email developers@human-id.org with any questions you may have.
Overview
Requirements
React 16.8.2+
React Native 0.55.0+
react-native-device-info 7.3.1+
Steps
1. Installations
Yarn
npm
linking assets (IMPORTANT)
2. Credentials Access
Receive the appId and appSecret through the App Registration Form.
3. Configuration
at your index.js file
How To Use
Register humanID Provider at your Top Container Application
Login
Listener onSuccess, onError, onCancel
We suggest put this method into lifecycle that only live once on your screen, example: componentDidMount if you use class component, otherwise you can use useEffect
Sample Code Here
Last updated