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-androidrepository. - Open the project in Android Studio.
- Build and run the
identity-exampleproject.
Use native SDK- useidandephemeral_key_secretto start native Android flow withIdentityVerificationSheet.Use web redirect- opens theurlin a custom tab, complete verification flow in browser.