Minimal react native web-etc example with Firebase
This blog might help to understand the code : dipanshkhandelwal-medium-react-native-webrtc-firebase
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
:
google-services.json
and add it to this path android/app/
For ios
:
GoogleService-Info.plist
and add it to your ios project using xcode
In the firebase console
remember to create a new Firestore
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
Take a look at the demo for understanding the steps better.
Enter Room Id.
Caller
Callee
Stop Call