其他语言版本:中文
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.
= react native 0.59.10
Open the specified ports in Firewall Requirements if your network has a firewall.
.
├── android
├── components
│ └── Permission.ts
│ └── Style.ts
├── ios
├── App.tsx
├── index.js
.
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.
Check the end of document if you want to use App ID with the certificate.
npm install
to install the app dependencies in the unzipped directory../App.tsx
and enter your App ID and token that we generated as appId: 'YourAppId', token: 'YourChannelToken'
cd ios && pod install
.npx react-native run-android
or npx react-native run-ios
to start the app.The app uses channel-x
as the channel name.
MIT