1.0.0 • Published 4 years ago

react-native-cxense v1.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago

react-native-cxense

Getting started

$ npm install react-native-cxense --save

Mostly automatic installation

$ react-native link react-native-cxense

Usage

import Cxense from 'react-native-cxense';

Cxense.init(
  'user_name',
  'api_key',
  callback => {
    if (callback === undefined) {
      Cxense.trackEvent(
        'event_name',
        'site_id',
        'location_url',
        'param',
        'value',
        'param',
        'value',
        'param',
        'value',
        incallback => {
          if (incallback === undefined) {
            // Cxense.flushQueue();
          } else {
            console.log('Error sending the event: ', incallback);
          }
        },
      );
    } else {
      console.log('Error initializing Cxense:', callback);
    }
  },
);
1.0.0

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago