Initialise Cordova Component
Initialise MoEngage plugin in the index.js of your application by calling the MoECordova.init() in the onDeviceReady().
var moe = MoECordova.init("YOUR_Workspace_ID");
Refer to the following for platform-specific initialization: