To track the events
npm install react-native-more-traceimport 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();See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library