setEnvironment
The setEnvironment API allows the super app to customize the SDK environment name.
Note: Must call this API before initializing the SDK.
Method signature
copy
setEnvironment(environment:String?)
Parameters
Name | Type | Description | Required |
environment | String | Indicates the SDK environment name. Note: If this parameter is empty or | Yes |
Samples
copy
IAPGriverConfig.getInstance().setEnvironment("prod")