GithubHelp home page GithubHelp logo

thenishchalraj / agora-rn-quickstart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agoraio-community/agora-rn-quickstart

0.0 0.0 0.0 1.06 MB

JavaScript 6.99% Java 13.55% Objective-C 21.47% Ruby 14.49% Starlark 9.88% TypeScript 32.32% C 0.53% Swift 0.77%

agora-rn-quickstart's Introduction

Agora React Native Demo

其他语言版本:中文

Quickstart for group video calls on React Native SDK using Agora.io SDK. Use this guide to quickly start a multiple user group call.

The source code of Agora React Native SDK can be found Here, API doc.

Prerequisites

  • = react native 0.59.10

  • iOS SDK 8.0+
  • Android 5.0+
  • A valid Agora account Sign up for free.

Open the specified ports in Firewall Requirements if your network has a firewall.

Running this example project

Structure

.
├── android
├── components
│ └── Permission.ts
│ └── Style.ts
├── ios
├── App.tsx
├── index.js
.

Generate an App ID

In the next step, you need to use the App ID of your project. Follow these steps to Create an Agora project in Console and get an App ID.

  1. Go to Console and click the Project Management icon on the left navigation panel.
  2. Click Create and follow the on-screen instructions to set the project name, choose an authentication mechanism (for this project select App ID without a certificate), and Click Submit.
  3. On the Project Management page, find the App ID of your project.

Check the end of document if you want to use App ID with the certificate.

Steps to run our example

  • Download and extract the zip file.
  • Run npm install or use yarn to install the app dependencies in the unzipped directory.
  • Navigate to ./App.tsx and enter your App ID that we generated as appId: YourAppId,
  • Open a terminal and execute cd ios && pod install.
  • Connect your device and run npx react-native run-android or npx react-native run-ios to start the app.

The app uses channel-x as the channel name.

Sources

License

MIT

agora-rn-quickstart's People

Contributors

ekaansharora avatar lemon-chen avatar lichking-2234 avatar matrixbirds avatar plutoless avatar thenishchalraj avatar williamdxz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.