CredentialOfferSheet

fun CredentialOfferSheet(sdk: WalletSdk, offerUri: String, onDone: (added: Boolean) -> Unit)

Accept a scanned/deep-linked OpenID4VCI credential offer in one sheet over the wallet:

  1. Accept sheet — who is offering what, laid out like the presentment consent sheet (centred issuer title, credential card, Cancel | Add). Read-only: nothing is redeemed yet.

  2. After "Add" the same sheet stays up with "Adding…" while the SDK's issuance runs (WalletUi.prepareProvisioning: DPoP policy, hardware-backed keys, wallet store). A follow-up sheet is shown only if the issuer asks the user for something (tx_code / browser login).

onDone fires when finished — true when a credential was added.