https://github.com/ekaansharora/agora-rn-rtm-quickstart
A quickstart app for real time messaging on react-native using Agora.io SDK
https://github.com/ekaansharora/agora-rn-rtm-quickstart
Last synced: 22 days ago
JSON representation
A quickstart app for real time messaging on react-native using Agora.io SDK
- Host: GitHub
- URL: https://github.com/ekaansharora/agora-rn-rtm-quickstart
- Owner: EkaanshArora
- Created: 2020-06-24T22:33:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T09:48:35.000Z (over 2 years ago)
- Last Synced: 2025-04-23T23:14:50.123Z (22 days ago)
- Language: Java
- Size: 2.07 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Agora React Native RTM Quickstart
A barebones quickstart app for real time messaging on react-native using Agora.io SDK.## Prerequisites
* A recent version of Node.js and NPM/Yarn
* A valid Agora account ([Sign up](https://dashboard.agora.io/) for free)Open the specified ports in Firewall Requirements if your network has a firewall.## Running this example project
### 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](https://docs.agora.io/en/Agora%20Platform/manage_projects?platform=All%20Platforms) in Console and get an [App ID](https://docs.agora.io/en/Agora%20Platform/terms?platform=All%20Platforms#a-nameappidaapp-id ).
1. Go to [Console](https://dashboard.agora.io/) and click the **[Project Management](https://dashboard.agora.io/projects)** 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 certificate.
### Steps to run this example
* Download and extract the zip file from the master branch.
* Run yarn install to install the app dependencies in the unzipped directory.
* Edit line 12 of `App.js` to enter your App ID that we generated.
* Open a terminal and execute `yarn start`.
* Open another terminal and execute `yarn android` or `yarn ios`.The app uses `channel-x` as the channel name, you can change it on line 12 of `App.js`.