airwallex-payment-react-native - v0.3.1
    Preparing search index...

    Function initialize

    • Initializes the Airwallex SDK. Call this once at app startup before invoking any other payment method.

      Parameters

      • environment: "staging" | "demo" | "production" | "preview" = 'production'

        The Airwallex environment to connect to. Defaults to 'production'.

      • enableLogging: boolean = true

        When true, the SDK emits logs to the console. Android only. Defaults to true.

      • saveLogToLocal: boolean = false

        When true, logs are also persisted to a local file for debugging. Defaults to false.

      Returns void