Smartech provides a React-native SDK that enables app developers to track and engage their users and view valuable analytical insights on our powerful Smartech dashboard.
This guide will show you how to install the Smartech React-native SDK in your React-native project.
Install Smartech React Native plugin using the npm package manager. And then link your native dependencies :
npm install --save smartech-reactnative-module react-native link smartech-reactnative-module
If you are building your Android app, follow the Basic Setup steps to install the Android SDK.
Also you need to add the below code inside the onCreate method of your MainActivity class.
If you are building your iOS app, follow the Basic Setup steps to install the iOS SDK.
const SmartechSDK = require('smartech-reactnative-module');
Now that the basic setup is completed, you can choose to move to either of below features:
Updated 3 months ago