Install Sahha SDK for React Native

Learn how to integrate the Sahha SDK into your React Native project.


Step 1) Install NPM package

Install the sahha-react-native NPM Package inside the root folder of your React Native project.

View Sahha React Native SDK on NPM

shell-session
$ npm i sahha-react-native

Step 2) Setup iOS Project

Follow these additional steps to install the Sahha SDK in your iOS project.

Install CocoaPods

You will need to install CocoaPods before you can install the Sahha SDK to your iOS project.

Visit Cocoapods to learn how to install CocoaPods.

Install Sahha Pod

Run pod install from the Terminal app in your project root folder.

shell-session
$ pod install

Step 3) Import Sahha Module

Import the Sahha module into any files inside your React Native project that use the SDK.

javascript
import { Sahha } from 'sahha-react-native';

Next Steps

Continue to Step 3.) Configure Settings to configure the Sahha SDK.

Previous
Flutter
Next
Expo