DipanshKhandelwal / react-native-webrtc-firebase

Minimal react native web-etc example with Firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react native web-rtc firebase

Minimal react native web-etc example with Firebase

Read

This blog might help to understand the code : dipanshkhandelwal-medium-react-native-webrtc-firebase

Demo

Demo GIf

Steps to setup the project

  1. Clone the reposiotry git clone https://github.com/DipanshKhandelwal/react-native-webrtc-firebase.git

  2. Create a new firebase project https://console.firebase.google.com/

  3. Add new apps in the firebase console

  4. Add firebase config to the apps.

    • For Android:

      • Download the google-services.json and add it to this path android/app/
    • For ios:

      • Download the GoogleService-Info.plist and add it to your ios project using xcode
  5. In the firebase console remember to create a new Firestore database and keep it's rules to test mode.

  6. Go to the project folder, and run the following command.

    • yarn install
  7. Build the app:

    • For Android

      • yarn run android
    • For ios

      • yarn run cocoapods
      • yarn run ios

Steps to run

Take a look at the demo for understanding the steps better.

  • Enter Room Id.

  • Caller

    • Call Screen
    • Start Call
  • Callee

    • Join Screen
    • Join Call
  • Stop Call

About

Minimal react native web-etc example with Firebase


Languages

Language:JavaScript 45.9%Language:Java 20.0%Language:Ruby 17.6%Language:Objective-C 14.6%Language:Starlark 1.9%