Socket
Book a DemoInstallSign in
Socket

@vivocha/react-native-vivocha-chat-only

Package Overview
Dependencies
Maintainers
29
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vivocha/react-native-vivocha-chat-only

Vivocha React-Native Plugin (Chat Only)

latest
npmnpm
Version
1.27.0
Version published
Maintainers
29
Created
Source

react-native-vivocha-chat-only

Vivocha React Native SDK

Installation

Using npm:

npm install --save @vivocha/react-native-vivocha-chat-only
npm install --save @vivocha/react-native-vivocha-shared-frameworks

or using yarn:

yarn add @vivocha/react-native-vivocha-chat-only
yarn add @vivocha/react-native-vivocha-shared-frameworks

React Native setup

Add vivocha-sdk include in android/settings.gradle:

include ':vivocha-sdk'
project(':vivocha-sdk').projectDir = new File('../node_modules/@vivocha/react-native-vivocha-chat-only/android/vivocha-sdk')

Expo setup

Add react-native-vivocha-chat-only plugin in app.json:

{
  "expo": {
    "plugins": [
      "@vivocha/react-native-vivocha-chat-only"
    ]
  }
}

Usage

import Vivocha, { VivochaValues } from '@vivocha/react-native-vivocha-chat-only';

const vivocha = Vivocha.instance;

const servId = Platform.select({
    android: 'XXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXX',  // android entry point Service ID
    ios: 'YYYYYYYYYYYYYYYYYYYYYYYY-YYYYYYYYYYYYY',  // ios entry point Service ID
    default: '',
});

vivocha
    .start('YOUR_ACCT_ID', servId, {})
    .then((res) => {
        console.log('Vivocha connected result:', res);
    })
    .catch((err) => {
        console.error('Vivocha connection error:', err);
    });

// ...

Keywords

react-native

FAQs

Package last updated on 17 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts