pointzi-react
Advanced tools
Comparing version 1.4.15 to 1.4.17
{ | ||
"name": "pointzi-react", | ||
"version": "1.4.15", | ||
"version": "1.4.17", | ||
"description": "This is an IOS/Android wrapper file for Pointzi that allows the use of Pointzi in React Native Enviroment", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,16 +9,4 @@ # README # | ||
Following methods are supported: | ||
### Version ### | ||
- 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 | ||
@@ -28,49 +16,10 @@ | ||
React-native version must be 0.45 or above. | ||
### How do I get set up? ### | ||
Step 1: | ||
Install the Module: | ||
`npm install pointzi-react` | ||
Please refer to the setup instructions in the [documentation](https://dashboard.pointzi.com/docs/sdks/react_native/android/) | ||
Step 2: | ||
Link the dependency | ||
`react-native link pointzi-react` | ||
Done ! | ||
Now you can use our Pointzi Tagging in your Project | ||
Example: | ||
```javascript | ||
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` | ||
Email: support@streethawk.com |
Sorry, the diff of this file is not supported yet
18460
23