react-native-more-trace
v0.0.3
Published
To track the events
Downloads
4
Readme
react-native-more-trace
To track the events
Installation
npm install react-native-more-traceUsage
import Trace from 'react-native-more-trace';
// Initialise the sdk
Trace.init({
api_key: '',
url: '',
env: 'dev',
});
// set the user id
Trace.setUserId('12345')
//track events
Trace.trackEvents(eventName, payload);
//Clear the data on logut
Trace.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
