Usage
Integrate Reclaim InApp SDK for React Native into your app.
Prerequisites
- Setup your project using the Get API Key guide.
- A provider id that you've added to your app from Reclaim Devtools.
Basic Usage
Initialize the SDK
Import the package and create an instance of ReclaimVerification.
Start Verification
Choose your preferred method to start the verification flow.
Initialize a session on your backend to keep your APP_SECRET secure.
- Export the session config from your backend using
request.toJsonString()(see how to setup a request on the backend). - Start verification with the config:
Verify the Result
After the verification is completed, you can submit and verify the proofs on your backend server using our JS SDK.
Exception Handling
If the verification ends with an exception, the exception is thrown as a ReclaimVerification.ReclaimVerificationException object.
This error object contains sessionId, reason, and innerError that can be used to get more details about the occurred error.
If you need more help, check out the Troubleshooting guide.
Advanced Usage
Want to further customize the verification experience? You can configure options, set up overrides, or use authentication with the attestor. Check out the Advanced Configuration guide for more details.
Stay Updated
- Join our Telegram community
- Follow @reclaimprotocol on Twitter
- Watch our GitHub repository