React Native 3.1.x. integration

Netcore CEE provides a React-native SDK that enables app developers to track and engage their users and view valuable analytical insights on our powerful CEE dashboard.

This guide will show you how to install the CEE React-native SDK in your React-native project.

Basic Setup

Installing Smartech React Native

Install CEE 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 CEE 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