For initializing the project, you’ll need to provide the Workspace ID of your MoEngage App.
Login to your MoEngage account, go to Settings in the left panel of the dashboard. Under App Settings, you will find your Workspace ID.
Code Initialisation
To initialize MoEngageSDK from application:didfinishlaunchingwithoptions call any one of the below initialization methods by passing MoEngageSDKConfig as parameter. Refer doc for more info on all the properties that can be configured using MoEngageSDKConfig
Objective-C
Sample code to initialize 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.
Refer to the Data Center documentation for more information.