MobileWalletFactory

actual class MobileWalletFactory

Android MobileWallet factory backed by Android KeyStore and an app-private SQLDelight database.

Parameters

context

Android context used to open the wallet database.

expect class MobileWalletFactory

Platform factory that wires MobileWallet to Android or iOS storage and key infrastructure.

actual class MobileWalletFactory

iOS MobileWallet factory backed by Keychain/Secure Enclave and a native SQLDelight database.

Constructors

Link copied to clipboard
constructor(context: Context)
constructor()

Functions

Link copied to clipboard

Creates an Android mobile wallet for config.

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

Creates a mobile wallet instance for the current platform.

actual fun create(config: MobileWalletConfig): MobileWallet

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