sdk-ui-compose
Ready-made Jetpack Compose screens for whole flows: the wallet (cards, details, Scan, Present, offers), the in-person verifier (pick a check, scan, result), and the results. On iOS the same screens ship as UIViewControllers in Wallet.xcframework.
Getting started in Android Studio
Add implementation("com.wallet.sdk:sdk-ui-compose:<version>") next to sdk-core, click Sync Now, and show a screen from a FragmentActivity:
setContent { WalletVerifyScreen(sdk = App.sdk, presets = RequestPresets.mdl, title = "Verify") }The screens
| Screen | For |
|---|---|
WalletVerifyScreen | a verifier app: pick a check, scan the holder's QR, see the result |
WalletScreen | a wallet app: the card list and card details |
WalletPresentScreen | a wallet app: the QR code and the in-person exchange |
WalletScanScreen | scanning credential offers and website requests |
CredentialOfferSheet | accepting a credential from an issuer |
WalletUriPresentmentActivity, WalletDcApiPresentmentActivity | answering websites (links, and Chrome's Digital Credentials sheet) |
Brand them once with WalletBrand.use(...): your app's name, card designs and document types.
Ready-made Jetpack Compose screens for whole flows: the wallet (cards, details, Scan, Present, offers), the in-person verifier (pick a check, scan, result), and the results. On iOS the same screens ship as UIViewControllers in Wallet.xcframework.
Getting started in Android Studio
Add implementation("com.wallet.sdk:sdk-ui-compose:<version>") next to sdk-core, click Sync Now, and show a screen from a FragmentActivity:
setContent { WalletVerifyScreen(sdk = App.sdk, presets = RequestPresets.mdl, title = "Verify") }The screens
| Screen | For |
|---|---|
WalletVerifyScreen | a verifier app: pick a check, scan the holder's QR, see the result |
WalletScreen | a wallet app: the card list and card details |
WalletPresentScreen | a wallet app: the QR code and the in-person exchange |
WalletScanScreen | scanning credential offers and website requests |
CredentialOfferSheet | accepting a credential from an issuer |
WalletUriPresentmentActivity, WalletDcApiPresentmentActivity | answering websites (links, and Chrome's Digital Credentials sheet) |
Brand them once with WalletBrand.use(...): your app's name, card designs and document types.