Socket
Socket
Sign inDemoInstall

cordova-plugin-cooee

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cordova-plugin-cooee

[![npm version](https://badge.fury.io/js/cordova-plugin-cooee.svg)](https://badge.fury.io/js/cordova-plugin-cooee)


Version published
Maintainers
1
Install size
9.09 kB
Created

Changelog

Source

0.0.5

Fixed Android build because of the wrong package.

Readme

Source

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)
    

Keywords

FAQs

Last updated on 29 Jan 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc