Quick Start
Complete your first mDL verification in under 10 minutes.
Step 1: Initialize the SDK
Initialize the SDK early in your application lifecycle, typically in your Application class or main Activity. You'll need your API key from the Owl Eyes Dashboard.
Step 2: Create a Verification Session
Create a session specifying the verification channel and what claims (data) you want to request. For this example, we'll use QR code verification to check if someone is over 21.
Step 3: Process Device Engagement
When the holder scans your QR code with their wallet app, they'll present a response. Process this response to complete the verification:
Complete Example
Here's a complete Activity that implements QR-based age verification:
Environments
The SDK supports multiple environments for different stages of development:
| Environment | Use Case |
|---|---|
MDLEnvironment.PRODUCTION | Live production traffic with real credentials |
MDLEnvironment.SANDBOX | Testing with test credentials (no real verification) |
MDLEnvironment.DEVELOPMENT | Local development with emulator |
Next Steps
Now that you've completed your first verification, explore these topics:
- Verification Channels – Learn about NFC and Bluetooth LE options
- Claim Sets – Request identity data, photos, and driving privileges
- Session Management – Handle session lifecycle and timeouts
- Error Handling – Handle errors gracefully