Cordova plugin for Qualaroo SDK
npm install com.qualaroo.cordova
Qualaroo helps companies identify and capitalize on mobile visitor revenue opportunities.
cordova plugin add com.qualaroo.cordovaQualarooSdk.init("
#### Display survey with a given alias.
The survey will be displayed if all conditions configured in your dashboard are met.
QualarooSdk.showSurvey("survey_alias")
#### Set user properties
```
//Set unique user id
QualarooSdk.setUserId("HAL_9000");
//Set user property "name" to "Hal"
QualarooSdk.setUserProperty("name", "Hal");
//remove property "name"
QualarooSdk.removeUserProperty("name");
#### Set preferred language
You can set preferred language that you want to use when displaying surveys.
QualarooSdk.setPreferredLanguage("fr")`
Language that you provide should be an ISO 639-1 compatible language code (two lowercase letters)