Add cordova-moengage-core plugin to cordova project as shown below :
$ cordova plugin add cordova-moengage-core --variable APP_ID="[your_app_id]"
- APP_ID = App id found under the settings page on the MoEngage dashboard.
Starting from version 5.0.2, we have changed the name of our plugin. Earlier it was registered as
moengagesdk and now its renamed to
cordova-moengage-core. In case if you are updating from version 5.0.1 or earlier, make sure to remove the older version of the plugin first and then install the newer plugin as shown below:
$ cordova plugin remove cordova-plugin-moengage $ cordova plugin add cordova-moengage-core --variable APP_ID="[your_app_id]"
Updated 5 months ago