react-native-more-sentinal
v0.1.13
Published
To track the events
Downloads
23
Readme
react-native-more-sentinal
To track the events
Installation
npm install react-native-more-sentinalUsage
import Sentinal from 'react-native-more-sentinal';
// Initialise the sdk
Sentinal.init({
api_key: '',
url: '',
env: 'dev',
});
// set the user id
Sentinal.setUserId('12345')
//track events
Sentinal.trackEvents(eventName, payload);
//Clear the data on logut
Sentinal.clearData();
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
