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

ScreenFor
WalletVerifyScreena verifier app: pick a check, scan the holder's QR, see the result
WalletScreena wallet app: the card list and card details
WalletPresentScreena wallet app: the QR code and the in-person exchange
WalletScanScreenscanning credential offers and website requests
CredentialOfferSheetaccepting a credential from an issuer
WalletUriPresentmentActivity, WalletDcApiPresentmentActivityanswering 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

ScreenFor
WalletVerifyScreena verifier app: pick a check, scan the holder's QR, see the result
WalletScreena wallet app: the card list and card details
WalletPresentScreena wallet app: the QR code and the in-person exchange
WalletScanScreenscanning credential offers and website requests
CredentialOfferSheetaccepting a credential from an issuer
WalletUriPresentmentActivity, WalletDcApiPresentmentActivityanswering websites (links, and Chrome's Digital Credentials sheet)

Brand them once with WalletBrand.use(...): your app's name, card designs and document types.

Packages

Link copied to clipboard
common

The ready-made screens, their branding (WalletBrand, WalletBranding, CardFace) and the shared result screens (WalletResults, PresentmentResultOverlay).