@azizuysal/wallet-kit API Documentation - v1.1.0
    Preparing search index...

    Type Alias WalletErrorCode

    WalletErrorCode:
        | "INVALID_PASS"
        | "UNSUPPORTED_VERSION"
        | "ERR_WALLET_NOT_AVAILABLE"
        | "ERR_WALLET_ACTIVITY_NULL"
        | "ERR_WALLET_MULTIPLE_NOT_SUPPORTED"
        | "ERR_WALLET_IN_PROGRESS"
        | "ERR_WALLET_UNKNOWN"

    Error codes that can be returned by wallet operations.

    • INVALID_PASS - The pass data is missing, empty, or not in a recognized wallet pass format (neither a base64-encoded .pkpass nor a JWT).
    • UNSUPPORTED_VERSION - The pass version is not supported (iOS only).
    • ERR_WALLET_NOT_AVAILABLE - Wallet app is not available on the device.
    • ERR_WALLET_ACTIVITY_NULL - Android-specific: Activity context is null.
    • ERR_WALLET_MULTIPLE_NOT_SUPPORTED - Android-specific: the Google Wallet API only accepts a single JWT per call. Combine multiple passes into one JWT on your server before calling addPasses.
    • ERR_WALLET_IN_PROGRESS - A previous add-pass call is still awaiting a result. Wait for it to resolve or reject before issuing another.
    • ERR_WALLET_UNKNOWN - An unexpected error occurred.