8min
React-Native
Install peer dependencies
$ npm install @react-native-async-storage/async-storage --save $ npm install react-native-native-mqtt --save
Install SDK
$ npm install @deerden/qualetics-react-native-sdk --save
Usage
JS
|
Options
JS
|
The following options can be provided when constructing the tracker instance
JS
|
Sending Events
After the tracker has been initialized you can start sending events. Data format in the event should be:
JS
|
Events can be sent either by sending the complete JSON object
JS
|
Or by using the message builder
JS
|