Skip to main content

React Native Installation

Add the Lovina Chat SDK to your React Native project.

Install the Package

Using npm:

npm install @lovina/react-native-chat-sdk

Or using yarn:

yarn add @lovina/react-native-chat-sdk

Install Peer Dependencies

The SDK requires react-native-webview as a peer dependency:

npm install react-native-webview

Or with yarn:

yarn add react-native-webview

iOS Pod Install

For iOS, install the native CocoaPods dependency:

cd ios && pod install && cd ..

Platform Requirements

PlatformMinimum Version
React Native0.70+
iOS15.0+
AndroidAPI 24 (Android 7.0)

Verify Installation

Import the widget in any component to confirm the installation:

import { LovinaChatWidget } from '@lovina/react-native-chat-sdk';

Build and run your app. If it compiles without errors, the SDK is installed.

Next Steps

Once installed, head to Usage to embed the chat widget in your app.