/react-native-firebase-chat

This repository contains the source code for a simple chat application built with React Native (frontend) and Firebase (backend).

Primary LanguageJavaScript

react-native-firebase-chat

This repository contains the source code for a simple chat application built with React Native (frontend) and Firebase (backend).

Copy the config from your Firebase account and paste it to firebase.js file that can be found by the path: app/configs/firebase.js

export const firebaseConfig = {
  apiKey: <API_KEY>,
  authDomain: <PROJECT_ID>.firebaseapp.com”,
  databaseURL: “https://<DATABASE_NAME>.firebaseio.com”,
  projectId: <PROJECT_ID>,
  storageBucket: <BUCKET>.appspot.com”,
  messagingSenderId: <SENDER_ID>,
}

To run the iOS application, use the following command:

react-native run-ios

To run the Android application, use this command:

react-native run-android