This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

cordova-plugin-cooee

0.0.5 • Public • Published

Cordova Plugin for Cooee SDK

npm version

Platforms

  • Android (Minimum Android 5.5/API level 21)
  • iOS (Coming Soon)

Installation

Using Cordova

cordova plugin add cordova-plugin-cooee \
        --variable COOEE_APP_ID="your-cooee-app-id" \
        --variable COOEE_APP_SECRET="your-cooee-app-secret" 

Using Ionic

ionic cordova plugin add cordova-plugin-cooee \
        --variable COOEE_APP_ID="your-cooee-app-id" \
        --variable COOEE_APP_SECRET="your-cooee-app-secret" 

Usage

  1. Logging events

    This method would send custom events to the server. It takes two parameter eventName and eventProperties

    cordova.plugins.CooeeSdkPlugin.sendEvent(<string> eventName, <map> eventProperties, success, failure);
  2. Setting user properties

    This method would update custom user properties and send it to server. It takes one parameter userProperties.

    cordova.plugins.CooeeSdkPlugin.updateUserProperties(<map> userProperties, success, failure)
  3. Setting user data

    This method would update custom user data and send it to server. It takes one parameter userData.

    cordova.plugins.CooeeSdkPlugin.updateUserData(<map> userData, success, failure)

Package Sidebar

Install

npm i cordova-plugin-cooee

Weekly Downloads

0

Version

0.0.5

License

Commercial

Unpacked Size

9.31 kB

Total Files

8

Last publish

Collaborators

  • sagrawal31