-
To download the iOS dependency, it is necessary to have cocoapods installed. To install it, follow this guide
-
Add the plugin to the project with the following command
phonegap plugin add cordova-plugin-emma-sdk --save
- In www/js/index.js add the following code
$(document).on("deviceready", function() {
var config = {
sessionKey: "%%%SESSION_KEY%%%"
};
window.plugins.EMMA.startSession(config);
});