Smartech

Basic Setup

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.

Installing Smartech React Native

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

Install Android SDK

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.

SmartechReactNativeModule.init(getIntent());
SmartechReactNativeModule.init(intent);

Install iOS SDK

If you are building your iOS app, follow the Basic Setup steps to install the iOS SDK.

Initialize the SDK

Grab a reference to the Smartech React Native library in your JavaScript file.

const SmartechSDK = require('smartech-reactnative-module');

Choose Features

Now that the basic setup is completed, you can choose to move to either of below features:

  1. Customer Engagement Channels like Push Notifications & In-app Messages
  2. User & Event Tracking
  3. Product Experience

Updated 3 months ago


Basic Setup


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.