We support data redirection to our servers in different clusters. Use MoEngageSDKConfig initializer to set the data center according to your account's configuration.
import MoEngageSDK
let sdkConfig = MoEngageSDKConfig(appId: "YOUR APPID", dataCenter: .data_center_01);
// Possible Values for Data Center
typedef enum {
data_center_01,
data_center_02,
data_center_03,
data_center_04,
data_center_05,
data_center_06 /// Data center 06 available SDK version 9.17.3
}MoEngageDataCenter;
@import MoEngageSDK;
MoEngageSDKConfig* config = [[MoEngageSDKConfig alloc] initWithAppId:@"YOUR APP ID" dataCenter:MoEngageDataCenterData_center_01];
// Possible Values for Data Center
typedef enum {
data_center_01,
data_center_02,
data_center_03,
data_center_04,
data_center_05,
data_center_06 /// Data center 06 available SDK version 9.17.3
}MoEngageDataCenter;
Following is the host for different data centers; please update the app's configuration according to the DataCenter in case would want to whitelist the SDK API domain:
Data Center | SDK Host | Dashboard Host |
---|---|---|
data_center_01 |
sdk-01.moengage.com | dashboard-01.moengage.com |
data_center_02 |
sdk-02.moengage.com | dashboard-02.moengage.com |
data_center_03 |
sdk-03.moengage.com | dashboard-03.moengage.com |
data_center_04 |
sdk-04.moengage.com | dashboard-04.moengage.com |
data_center_05 |
sdk-05.moengage.com | dashboard-05.moengage.com |
data_center_06 |
sdk-06.moengage.com | dashboard-06.moengage.com |
warning |
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. |
For more information about MoEngage data centers, refer to Data Centers in MoEngage.