Skip to main content

Code Initialization

From plugin version 8.0.0 we support initialization only via code. In the version 8.0.0 we have removed the initialization of SDK support via info.plist which was supported in 7.1.1 and above.
  • Call any one of the below-given initialization methods in application:didFinishLaunchingWithOptions: method. The method accepts the MoEngageSDKConfig instance as its parameter. Refer doc for more info on all the properties which can be configured using MoEngageSDKConfig.
  • Sample code to initialise from application:didFinishLaunchingWithOptions: method:

Data Center

In case your app wants to redirect data to a specific zone due to any data regulation policy please configure the zone in the MOSDKConfig object. For more information on Data Center, refer here.