Minimal react native web-etc example with Firebase
source link: https://reactnativeexample.com/minimal-react-native-web-etc-example-with-firebase/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
react native web-rtc firebase
Minimal react native web-etc example with Firebase
This blog might help to understand the code : dipanshkhandelwal-medium-react-native-webrtc-firebase
Steps to setup the project
-
Clone the reposiotry
git clone https://github.com/DipanshKhandelwal/react-native-webrtc-firebase.git
-
Create a new firebase project
https://console.firebase.google.com/
-
Add new apps in the firebase console
-
Add firebase config to the apps.
-
For
Android
:- Download the
google-services.json
and add it to this pathandroid/app/
- Download the
-
For
ios
:- Download the
GoogleService-Info.plist
and add it to your ios project usingxcode
- Download the
-
-
In the
firebase console
remember to create a newFirestore
database and keep it’s rules to test mode. -
Go to the project folder, and run the following command.
yarn install
-
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
GitHub
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK