gatewayUrl

This property allows the super app to customize the gateway address.

Note: Must configure this property before initializing the SDK.

Property

copy
/**
 setting custom gatewayUrl to redirect network traffic to custom gateway
 */
@property (nonatomic, copy, nullable) NSString *gatewayUrl;

Name

Type

Description

Required

gatewayUrl

NSString

Indicates the gateway URL address.

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

Yes

Sample

copy
func createGriverConfiguration() -> GRVConfiguration {
    let configuration = GRVConfiguration()
    configuration.gatewayUrl = "Custom GatewayUrl"
    return configuration
}