JSPM

  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q54050F
  • License ISC

This is an IOS/Android wrapper file for Pointzi that allows the use of Pointzi in React Native Enviroment

Package Exports

  • pointzi-react

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pointzi-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

README

React Native Bridge for Pointzi Android

What is this repository for?

This is an Android wrapper file use of Pointzi Tagging in React Native Enviroment.

Following methods are supported:

  • tagCuid
  • tagUserLanguage
  • tagString
  • tagNumeric
  • tagDatetime
  • removeTag
  • incrementTag

https://dashboard.pointzi.com/docs/

VERSION

Pointzi only supports android.support version to be 23.2.0 or above

compile 'com.android.support:appcompat-v7:23.2.0'

React-native version must be 0.45 or above.

How do I get set up?

Step 1: Install the Module: npm install pointzi-react

Step 2: Link the dependency react-native link pointzi-react

Done !

Now you can use our Pointzi Tagging in your Project

Example:

import PointziReact from 'pointzireact';
const onButtonPress = () => {
   PointziReact.tagCuid('Hello world, from React JS');
};
 
export default class Example extends Component {
  render() {
    return (
      <View style={styles.container}>
        <Button title='Click' onPress={onButtonPress}/>
      </View>
    );
  }
}

Who do I talk to?

Email: support@streethawk.com

Releasing a new version

Run npm version patch to bumpup the version, then do

git commit git push origin master git push origin master --tags