This app demonstrates how to integrate with Stripe Identity with native Android SDK or using Redirect web flow.
It requests a VerificationSession
from a sample backend, you can either use the same backend or remix the sample glitch backend and provide your own secret key in .env
file.
Please follow this guide for more details on creating a VerificationSession
with a sample backend.
- Clone the
stripe-android
repository. - Open the project in Android Studio.
- Build and run the
identity-example
project.
Use native SDK
- useid
andephemeral_key_secret
to start native Android flow withIdentityVerificationSheet
.Use web redirect
- opens theurl
in a custom tab, complete verification flow in browser.