React Native SDK

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

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

Click here to install and configure Smartech plugins for a React Native Expo Project.

Installing Smartech Base React Native

Install Netcore CE React Native plugin using the npm package manager. And then link your native dependencies.

npm install smartech-base-react-native

Install Android SDK

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

Step 1 : Define Latest SDK version

Add below line in gradle.properties

// Version of smartech base SDK to use with React Native
SMARTECH_BASE_SDK_VERSION=<<base_sdk_android_version>>

Step 2: Integrate the latest Netcore CE SDK

Make the following changes in the app-level build.gradle

api "com.netcore.android:smartech-sdk:${SMARTECH_BASE_SDK_VERSION}"

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 Netcore CE React Native library in your JavaScript file.

const SmartechBaseReact = require('smartech-base-react-native');

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