Android SDK
Usage
Integrate Reclaim Protocol using Kotlin
Quickstart
Import
Create a request object
Using credentials from AndroidManifest.xml:
- You can get the
APP_IDandAPP_SECRETusing this guide - The
PROVIDER_IDis the proof you want the user to generate. You can see all the available providers here.
Start the verification flow
The returned result ReclaimVerification.ResultHandler.onResponse in is a ReclaimVerification.Response object. This object contains a response that has proofs, exception, and the sessionId if the verification is successful.
If the verification is cancelled or failed, the handler's ReclaimVerification.ResultHandler.onException method is called with a ReclaimVerification.ReclaimVerificationException object.
Example
Complete Android example with Jetpack Compose