1.10.2 • Published 6 years ago

com.qualaroo.cordova v1.10.2

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
6 years ago

npm.io

QualarooSDK for Cordova

Qualaroo helps companies identify and capitalize on mobile visitor revenue opportunities.

Requirements

In order to integrate the Qualaroo SDK into a 3rd-party app, the app must satisfy the following requirements:

Android

  • Minimum deployment target set to Android 4.0.3 or later

iOS

  • make sure Always Embed Swift Standard Libraries in your Build Options is set to true

Installation

cordova plugin add com.qualaroo.cordova

Usage

Initialize the Client

In order to be able to use Qualaroo SDK you need to to initialize it first.

QualarooSdk.init("<your_api_key_here">

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)

1.10.2

6 years ago

1.10.1

6 years ago

1.10.0

6 years ago

1.9.0

6 years ago

1.8.4

7 years ago

1.8.3

7 years ago

1.8.2

7 years ago

1.8.1

7 years ago

1.8.0

7 years ago

1.4.5

7 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago