Android Wallet Sample
Testing with the OWF Reference Wallet
Install the apps
-
Ensure you've completed all of the pre-requisites defined here: Requirements
-
Download and install the sample wallet app here. It will appear in the launcher as
IC Purse
.noteThis is the Open Wallet Foundation reference wallet which can also be built directly from source if you prefer.
adb install -t <path-to-apk>
-
Install the sample reader app here. It will appear in the launcher as
App Verifier
.noteThis is the Open Wallet Foundation reference verifier app which can also be built directly from source if you prefer.
adb install -t <path-to-apk>
Generate a test credential
- Launch the "IC Purse" (App Holder) app and provision a new mDL
- Tap the menu button and select
Add Self Signed Document
- This document will now be available for presentment to native apps and websites
Present the credential via the DC API
-
In Chrome on your test device, navigate to https://test.digitalcredentials.dev
-
Optionally, customize the request claims
-
Click the "Request Credentials (OpenID4VP)" button
-
Accept the browser privacy warning
-
On the Android credential selector screen, select the mDL you created earlier
-
Peform user verification (face or fingerprint check)
-
The website should show the presented claims
Request the credential using the native verifier app sample
-
Launch the "App Verifier" app and tap
Request via Credential Manager
. This should invoke the Credential Selector UX showing the available documents that match the request. At this point you see the mDL you provisioned above. -
Select the mDL. The Verifier app will now show the information it received.
If you got this far, you should have something that looks more or less like the following: https://www.youtube.com/watch?v=mZeSVNK0jlw