Getting Started
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 Getting started 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());
Install iOS SDK
If you are building your iOS app, follow the Getting started 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');
Updated almost 4 years ago