Data Center

We support data redirection to our servers in different clusters. By default, the data center in SDK is set to DATA_CENTER_01, use MOSDKConfig while initialization and update the property according to your account's configuration.

Swift Objective-C
import MoEngage

var sdkConfig = MOSDKConfig.init(appID: "appID")
sdkConfig.moeDataCenter = DATA_CENTER_01 //eg

// Possible Values for Data Center
typedef enum {
    DATA_CENTER_01,
    DATA_CENTER_02,
    DATA_CENTER_03
}MODataCenter;

Following is the host for different data centers, please update the app's configuration according to the DataCenter in the case would want to whitelist the SDK API domain:

Data Center SDK Host Dashboard Host
DATA_CENTER_1 sdk-01.moengage.com dashboard-01.moengage.com / app.moengage.com
DATA_CENTER_2 sdk-02.moengage.com dashboard-02.moengage.com / app-eu.moengage.com
DATA_CENTER_3 sdk-03.moengage.com dashboard-03.moengage.com / app-serv3.moengage.com
 

IMPORTANT:

Refer to the dashboard host to know the Data Center of your account.
Please make sure that you consult with the MoEngage team before using this method for changing the data center in the SDK.
Was this article helpful?
0 out of 0 found this helpful