Talk to us
Talk to us

Blog Post

start building

Why You Should Build Your Own Video Meeting App

Why You Should Build Your Own Video Meeting App

Video Meeting is a great way to connect with people and make them feel like they are in the same room as you. It is also a great form of communication for those who are geographically dispersed.

But video meeting has some disadvantages too. For example, it can be difficult to schedule and coordinate video meetings. You also have to invest in high-quality equipment and software such as webcams, microphones, speakers, screen-sharing tools, etc.

So if you want to avoid these disadvantages and enjoy all the benefits of video meetings without any hassle then building your own video meeting app might be a good idea for you!

Introduction to React Native Video Conferencing Kit

The React Native video conferencing kit is a powerful tool that allows you to easily add video meetings to your app. With it, you can add video meeting capabilities to your app with just a few lines of code. Plus, the kit is easy to use and integrates seamlessly with React Native.

So if you’re looking for a way to add video chat to your React Native app, the React Native video conferencing kit is a great option.

video conference kit

As shown in the figure, the functions provided by the video conference kit include:

  • Multi-user audio/video meeting
  • Adaptive video layouts
  • Real-time sound waves display
  • Customizable UI styles
  • Device management
  • Extendable top/bottom menu bar
  • Customizable conference title
  • Member List
  • Conference join/leave notifications


  • A ZEGOCLOUD developer account-Sign up.
  • React Native 0.60.0 or later.
  • Basic understanding of React Native development.

Implement video meeting app

Create project

Creating a new React Native project is simple. First, make sure you have the React Native CLI installed. Then, create a new directory for your project and run the following command:

npx react-native init video_conference
video meeting init

Add ZegoUIKitPrebuiltVideoConference as dependencies

Adding ZegoUIKitPrebuiltVideoConference as dependencies to your project is simple and straightforward. Just Add the following dependencies in the package.json file.

"@react-navigation/native": "^6.1.0",
"@react-navigation/native-stack": "^6.9.5",
"@zegocloud/zego-uikit-prebuilt-video-conference-rn": "^1.0.0",
"@zegocloud/zego-uikit-rn": "^1.4.2",
"react-delegate-component": "^1.0.0",
"react-native-safe-area-context": "^4.4.1",
"react-native-screens": "^3.18.2",
"zego-express-engine-reactnative": "^3.0.3"
add SDK as dependencies

Add Video meeting Button

You’ll need to create a button that visitors can click on to start a video meeting.

// App.js
import React from 'react';
import {NavigationContainer} from '@react-navigation/native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import HomePage from './HomePage';

const Stack = createNativeStackNavigator();

export default function AppNavigation(props) {
  return (
      <Stack.Navigator initialRouteName="HomePage">
          options={{headerShown: false}}
// HomePage.js
import React, {useEffect, useState} from 'react';
import {Button, View, StyleSheet, Text, TextInput} from 'react-native';
import {useNavigation} from '@react-navigation/native';
import {useSafeAreaInsets} from 'react-native-safe-area-context';

export default function HomePage(props) {
  const navigation = useNavigation();
  const onJoinConferencePress = () => {
    navigation.navigate('VideoConferencePage', {
      userID: userID,
      userName: userID,
      conferenceID: conferenceID,
  const [userID, setUserID] = useState('');
  const [conferenceID, setConferenceID] = useState('');
  useEffect(() => {
    setUserID(String(Math.floor(Math.random() * 100000)));
    setConferenceID(String(Math.floor(Math.random() * 10000)));
  }, []);
  const insets = useSafeAreaInsets();
  return (
        {paddingTop:, paddingBottom: insets.bottom},
      <Text style={styles.userID}>Your User ID: {userID}</Text>
      <Text style={[styles.conferenceID, styles.leftPadding]}>
        Conference ID:
        placeholder="Enter the Conference ID. e.g. 6666"
        onChangeText={text =>
          setConferenceID(text.replace(/[^0-9A-Za-z_]/g, ''))
      <View style={[styles.buttonLine, styles.leftPadding]}>
          disabled={conferenceID.length === 0}
          title="Start a conference"
          onPress={() => {

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'flex-start',
    alignItems: 'flex-start',
  buttonLine: {
    flexDirection: 'row',
    justifyContent: 'space-between',
    alignItems: 'center',
    height: 42,
  buttonSpacing: {
    width: 13,
  input: {
    height: 42,
    width: 305,
    borderWidth: 1,
    borderRadius: 9,
    borderColor: '#333333',
    paddingLeft: 16,
    paddingRight: 16,
    paddingTop: 10,
    paddingBottom: 10,
    marginLeft: 35,
    marginBottom: 20,
  userID: {
    fontSize: 14,
    color: '#2A2A2A',
    marginBottom: 27,
    paddingBottom: 12,
    paddingTop: 12,
    paddingLeft: 20,
  conferenceID: {
    fontSize: 14,
    color: '#2A2A2A',
    marginBottom: 5,
  simpleCallTitle: {
    color: '#2A2A2A',
    fontSize: 21,
    width: 330,
    fontWeight: 'bold',
    marginBottom: 27,
  button: {
    height: 42,
    borderRadius: 9,
    backgroundColor: '#F4F7FB',
  leftPadding: {
    paddingLeft: 35,
video meeting home page

Implement video meeting page

Next, you need to build a video meeting page using ZegoUIKitPrebuiltVideoConference.

// VideoConferencePage.js
import React from 'react';
import {StyleSheet, View} from 'react-native';
import ZegoUIKitPrebuiltVideoConference from '@zegocloud/zego-uikit-prebuilt-video-conference-rn';

export default function VideoConferencePage(props) {
  const {route} = props;
  const {params} = route;
  const {userID, userName,conferenceID} = params;
  return (
    <View style={styles.container}>
          onLeave: () => {

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
    zIndex: 0,

Configure your video meeting project


  1. Open the ‘my_project/android/app/src/main/AndroidManifest.xml’ file and add the following code:
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
  1. Open the my_project/android/app/ file and add the following code:
-keep class **.zego.**  { *; }


Open the my_project/ios/my_project/Info.plist file and add the following code:

<string>We need to use the camera</string>
<string>We need to use the microphone</string>

Run a demo

After completing all the above tasks, you can start running your project and experience the video meeting function.


This kit is ideal for developers who are looking to create a video meeting app for either Android or iOS. React Native Video Conferencing Kit is a complete solution that includes everything you need to get started, from the SDK to the [documentation](). With this kit, you’ll be able to develop a video meeting app quickly and easily, without having to worry about platform compatibility.

Take action now, You can download the sample demo source code of this article, or consult us 24h technical support.

Read More

ZEGOCLOUD With our fully customizable and easy-to-integrate Live SDK, you can quickly build reliable, scalable, and interactive live streaming into your mobile, web, and desktop apps.

Related posts