Skip to content

This is a sample app to demonstrate, How to used react-native Uikit with customised options

Notifications You must be signed in to change notification settings

EnableX/UIkit_Sample_React-Native

Repository files navigation

UIkit_Sample_React-Native

EnableX Video Calling React-Native App with UIKit: Try Real-Time Audio and Video Features on React-Native

Develop a React-Native mobile app seamlessly integrated with UIKit, harnessing the power of EnableX infrastructure, APIs, and Toolkit for exceptional real-time video and audio experiences. With this sample app, developers can explore and implement cutting-edge video calling functionalities.

Unlock the potential of this React-Native mobile app to:

  1. Establish Virtual Rooms: Utilize REST video APIs to effortlessly generate virtual rooms, providing a platform for seamless communication.

  2. Secure Room Credentials: Acquire room credentials, including the unique Room ID, ensuring robust security and privacy for your users.

  3. Join Virtual Rooms: Seamlessly participate in virtual rooms either as a moderator or participant, guaranteeing a secure and immersive video calling experience.

Experience the future of video communication with this React-Native app, powered by EnableX, such as React-Native mobile video calling, EnableX infrastructure, real-time video, audio features, and more.

1. Get started

1.1 Prerequisites

1.1.1 App ID and App Key

You would need API Credentials to access EnableX platform. To do that, simply create an account with us. It’s absolutely free!

1.1.2 Requirement

  • Android Studio / Vc Code
  • Language: Js/tsx

1.1.3 Sample React-Native Client

1.1.4 Application Server

An Application Server is required for your React-Native mobile App to communicate with EnableX. We have different variants of Application Server Sample Code. Pick the one in your preferred language and follow instructions given in README.md file of respective Repository.

Note the following: • You need to use App ID and App Key to run this Service. • Your React-Native Client EndPoint needs to connect to this Service to create Virtual Room and Create Token to join the session. • Application Server is created using [EnableX Server API] (https://developer.enablex.io/docs/references/apis/video-api/index/) while Rest API Service helps in provisioning, session access and post-session reporting.

If you would like to test the quality of EnableX video call before setting up your own application server, you can run the test on our pre-configured environment. Refer to point 2 for more details on this.

1.2 Configure React-Native Client

  • Open the App
  • Go to EnxJoinScreen.tsx, it's reads:
/* Your webservice host URL, Keep the defined host when kTry = true */
const kBaseURL = "https://demo.enablex.io/";
/* To try the app with Enablex hosted service you need to set the kTry = true */
const kTry = true;
/* Use Enablex portal to create your app and get these following credentials */
const kAppId = "App-Id";
const kAppkey = "App-key";

 

1.3 Test

1.3.1 Open the App

  • Open the App in your Device. You get a form to enter Name, Room ID and Role (Moderator or Participant).
  • If you don't have a Room ID, create a Room by clicking the "Create Room" button.
  • Enter the Room ID in the Form to connect to the Virtual Room to carry out an RTC Session either as a Moderator or a Participant.
  • Share Room ID with others to join the Virtual Room with you.

Note:

  • This Sample React-Native Application created a Virtual Room with limited Participant and 1 Moderator only.
  • In case of emulator/simulator your local stream will not create. It will create only on real device.

2. Testing Environment

If you would like to test the quality of EnableX video call before setting up your own Application server, you can run the test on our pre-configured environment. In this environment, you will only be able to:

  • Conduct a single session with a total durations of not more than 15 minutes
  • Host a multiparty call with no more than 6 participants

More information on Testing Environment: https://developer.enablex.io/video/sample-code/#demo-app-server

Once you have tested it, it is important that you set up your own Application Server to continue building a one to one or multiparty React-Native video calling app. Refer to section 1.1.4 on how to set up the Application Server.

3. React_Native UIKit

This Sample Application uses EnableX React-Native UIKit to communicate with EnableX Servers to initiate, manage Real-Time Video Communications and create a beautify & customized Audio/Video call UI. Please update your Application with latest version of EnableX React-Native UIKit as and when a new release is available.

single

    Only one user join

multiple

    Two users join

multiple2

    Multiple users join

multiple3

Chat

    Chat page

participant_list

    lis of avaliable Participants in session

For more check this below document

4. Support

EnableX provides a library of Documentations, How-to Guides and Sample Codes to help software developers get started.

Go to https://developer.enablex.io/.

You may also write to us for additional support at [email protected].

About

This is a sample app to demonstrate, How to used react-native Uikit with customised options

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published