create

actual suspend fun create(config: MobileWalletConfig): MobileWallet

Creates an Android mobile wallet for config.

The database is named from MobileWalletConfig.walletId. The factory wires the Android managed-key provider together with the Crypto2 software-key fallback used for supported unprotected requests.


actual suspend fun create(config: MobileWalletConfig, clientIdTrustConfiguration: ClientIdTrustConfiguration): MobileWallet

Creates a mobile wallet with explicit verifier client-ID trust configuration.

expect suspend fun create(config: MobileWalletConfig = MobileWalletConfig()): MobileWallet

Creates a mobile wallet instance for the current platform.

Parameters

config

Wallet configuration. Defaults use the stable default wallet identifier and P-256 key material.


expect suspend fun create(config: MobileWalletConfig, clientIdTrustConfiguration: ClientIdTrustConfiguration): MobileWallet

Creates a mobile wallet with explicit verifier client-ID trust configuration.

actual suspend fun create(config: MobileWalletConfig): MobileWallet

Creates an iOS mobile wallet using native SQLDelight storage and the default iOS platform key provider.


actual suspend fun create(config: MobileWalletConfig, clientIdTrustConfiguration: ClientIdTrustConfiguration): MobileWallet

Creates a mobile wallet with explicit verifier client-ID trust configuration.