Set the app status as install or update in the MoEngage Cordova SDK for migration tracking.
This is solely required for migration to the MoEngage Platform. We need your help to tell the SDK whether the user is a new user for on your app(first Install) or an existing user who has updated to the latest version.Make use of the setAppStatus method as shown below to track Install/Update as shown below:
var moe = MoECordova.init(YOUR_Workspace_ID);// For fresh Installmoe.setAppStatus("INSTALL");// For tracking App Updatemoe.setAppStatus("UPDATE");