setGatewayUrl

The setGatewayUrl API allows the super app to customize the gateway address.

Note: Must call this API before initializing the SDK.

Method signature

copy
setGatewayUrl(gatewayUrl:String?)

Parameters

Name

Type

Description

Required

gatewayUrl

String

Indicates the gateway URL address.

Note: If this parameter is empty or null, SDK uses the default gateway URL address.

Yes

Samples

copy
IAPGriverConfig.getInstance().setGatewayUrl("Custom GatewayUrl")