Connect with customers at every step of their journey. Give them the best in-app live chat experience with Mobilisten. Mobilisten enables customers to reach you from any screen on your app, get their questions answered, and make better purchase decisions.
✅ React Native - Fully supported
✅ Expo - Fully supported with development builds (Expo Go not supported due to native dependencies)
Mobilisten is a support chat SDK that comes with a set of highly
configurable APIs to suit your needs. Get started by generating an App and Access keys for your
bundle ID from the SalesIQ console.
iOS: Minimum deployment target should be set to iOS 13.
Android: Ensure that your project meets the following requirements:
- Minimum Android Version: Android 6.0 (Lollipop) (API Level 23)
- Compile SDK Version: 35 (Android 15)
- Required Permissions:
- android.permission.INTERNET (Required for network operations)
Follow the below steps given below to complete installation of Mobilisten in your React-Native app.
- Install the @react-native-zohosalesiq/mobilisten package using NPM.
npm install @react-native-zohosalesiq/mobilisten-core @react-native-zohosalesiq/mobilisten(Optional) Run this only if you want to integrate Mobilisten Calls along with Mobilisten
npm install @react-native-zohosalesiq/mobilisten-core @react-native-zohosalesiq/mobilisten @react-native-zohosalesiq/mobilisten-callsRefer to this README for more details with calls integration
- Link the module with the react native app If you're using React Native v0.60 or above, the dependency will be linked automatically without any steps being taken.
react-native link @react-native-zohosalesiq/mobilisten-core @react-native-zohosalesiq/mobilisten(Optional) Run this only if you want to integrate Mobilisten Calls along with Mobilisten
react-native link @react-native-zohosalesiq/mobilisten-calls- Add the below code to the
android/settings.gradle
include ':react-native-zohosalesiq_mobilisten-core'
project(':react-native-zohosalesiq_mobilisten-core').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-zohosalesiq_mobilisten-core/android')
include ':react-native-zohosalesiq_mobilisten'
project(':react-native-zohosalesiq_mobilisten').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-zohosalesiq_mobilisten/android')(Optional)
include ':react-native-zohosalesiq_mobilisten-calls'
project(':react-native-zohosalesiq_mobilisten-calls').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-zohosalesiq_mobilisten-calls/android')- Implement the dependency in the
android/app/build.gradlefile insidedependencies
implementation project(':react-native-zohosalesiq_mobilisten')Note: mobilisten-core must be linked mandatorily.
-
Navigate to the
iosfolder in the project directory. -
Run the
pod repo update && pod installcommand from theiosdirectory.
For the RNZohoSalesIQ version below 10.0.0:
-
Open your podfile.
-
Add the "/ios" to the path for the RNZohoSalesIQ pod, as shown below.
pod 'RNZohoSalesIQ', :path => '../node_modules/@react-native-zohosalesiq/mobilisten/ios'- Run
pod installafter saving the changes made to the Podfile.
Note: If you're updating from the SDK versions below
10.0.0to above, remove the above path in yourPodfileand run thepod installin the iOS folder.
- Navigate to the android folder within the project directory using Android Studio or any other platform of choice for Android development. Add the following maven repository to the build.gradle file.
allprojects {
repositories {
.....
maven { url 'https://maven.zohodl.com' }
}
}- Click Sync Now from the toolbar on the IDE.
- Generate
AppandAccesskeys for iOS and Android platforms by providing your bundle id. - Use the ZohoSalesIQ.init API with keys for each platform as shown below.
import { ZohoSalesIQ } from '@react-native-zohosalesiq/mobilisten';
// OPTIONAL - Only If Calls feature is required.
import { ZohoSalesIQCalls } from '@react-native-zohosalesiq/mobilisten-calls';
let APP_KEY;
let ACCESS_KEY;
if (Platform.OS === 'ios'){
APP_KEY = "ios_app_key";
ACCESS_KEY = "ios_access_key";
} else {
APP_KEY = "android_app_key";
ACCESS_KEY = "android_access_key";
}
// OPTIONAL - Only If Calls feature is required.
ZohoSalesIQCalls.initialiseForiOS();
ZohoSalesIQ.initialize({ appKey: APP_KEY, accessKey: ACCESS_KEY }).then(() => {
ZohoSalesIQ.Launcher.show(ZohoSalesIQ.Launcher.VisibilityMode.ALWAYS); // Show the chat launcher
// Your logic after initialization
}).catch((error) => {
// Handle initialization error
});- If you wish to show the default chat launcher, use the ZohoSalesIQ.Launcher.show() API (Optional).
You can find the list of all APIs and their documentation here under the API Reference section.