Coder Social home page Coder Social logo

dipanshkhandelwal / react-native-webrtc-firebase Goto Github PK

View Code? Open in Web Editor NEW
43.0 3.0 20.0 6.02 MB

Minimal react native web-etc example with Firebase

JavaScript 45.90% Starlark 1.95% Java 20.02% Ruby 17.56% Objective-C 14.57%
react react-native reactjs web-rtc web-rtc-demo firebase firestore video-call javascript

react-native-webrtc-firebase's Introduction

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

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.