Skip to content

scottpolo/PoloChatApp

Repository files navigation

Miniature

Chat App using React Native Expo and Firebase

How to clone

Clone the repo

git clone https://github.com/scottpolo/PoloChat.git

cd into the just created project and install dependencies with yarn

cd PoloChat && yarn

Add your firebase backend config in the firebase.js file

const firebaseConfig = {
  apiKey: Constants.expoConfig.extra.apiKey,
  authDomain: Constants.expoConfig.extra.authDomain,
  projectId: Constants.expoConfig.extra.projectId,
  storageBucket: Constants.expoConfig.extra.storageBucket,
  messagingSenderId: Constants.expoConfig.extra.messagingSenderId,
  appId: Constants.expoConfig.extra.appId,
  databaseURL: Constants.expoConfig.extra.databaseURL,
  //   @deprecated is deprecated Constants.manifest
};

Run the project

expo start

Congratulations 🎉 Now you have a functional Chat App working locally

Known issues

Expo SDK and libreries are always updating their versions and deprecating others. before installing the libreries run.

yarn add expo@latest

Next you can run:

    npx expo install --fix

Older versions of react-native-gifted-chat have a some issues. make sure you have the latest.

npx expo install react-native-gifted-chat@latest

Expo will show you what dependencies need to be updated. Install the dependencies expo suggest you. It is possible that there is cache and you have to run.

yarn start --reset-cache

Connect with Me

About

React Native Expo Chat App using Firebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published