Download and install React Native WebRTC sample projects
Ant Media WebRTC React Native samples are free to download. You can access them through this link on Github.
After downloading the whole project, you can see all samples of the React Native project in the samples
folder.
Install dependencies
For installing dependencies, you can use npm or as an alternative method, you can also use yarn.
Install yarn by following this link.
If you want to use npm, then follow only npm commands, and if you want to use yarn, then follow only yarn commands.
First, you need to open the root directory of the sample project in the terminal that you want to build.
To install dependencies, run
npm install
or yarn install
After dependencies are installed, you need to run the below commands in order to run the project.
npm run android
or yarn android
After the project starts successfully, a sample app will appear on the device/emulator.