React Native Setup

Installation

Following section explains the integration steps for React Native applications. To start with install the npm module as shown below.

npm install react-native-live-pinch --save
react-native link

When this is done. Follow the installation guides for Android SDK and iOS SDK to complete setup.

For Android, be sure to implement setup instructions for Setup Android Install Tracking, Setup for Android Push, optionally Setup User location tracking

For iOS, be sure to implement setup instructions for Setup iOS Push Setup, optionally Setup User location tracking

Initialization

Create Reference of LivePinch Object of React Native library in your JavaScript file like below.

import LivePinch from 'react-native-live-pinch';
var livepinch = new LivePinch();