cordova-survey-monkey
v0.0.7
Published
Plugin to use the API of Survey Monkey
Downloads
4
Maintainers
Readme
cordova-survey-monkey
Implement Survey Monkey Api for Android (iOS SOON!!!).
Installation
To install from the command line:
cordova plugin add cordova-survey-monkey
It is also possible to install via repo url directly
cordova plugin add https://github.com/maugonsal/cordova-survey-monkey
Usage
//HASH OF THE SURVEY
var hash_survey = "XGF123";
//SEND CUSTOM VARIABLE AS JSON STRING
var json_vars = {email:'[email protected]'};
//SHOW SURVEY
cordova.plugins.SurveyMonkey.showSurvey(hash_survey,JSON.stringify(json_vars),function(answers){
console.log(answers)
},function(error){
console.log(error)
}
);