Skip to content

Latest commit

 

History

History
 
 

README.md

Eliza

This project was created using the Expo CLI with the command:

npx create-expo-app react-native

Prerequisites:

  • To view on a phone, download the Expo Go app, which will allow you to run the app on your phone while hitting a server running on your computer.

Getting Started

npm install

npm start

Starts the server locally using Expo. You should then be able to see it running on a phone provided you have the above app downloaded and configured.

Note that React-Native does not fully support the Fetch API when running on mobile and as a result, the Connect transport does not work properly in that environment. Instead, we create a custom XHR transport for use in that circumstance.

To update the React Native project, you have to check the React Native Upgrade Helper for guidance.

Helpful Commands

npm run generate

Use buf to generate the compiled protos via protobuf-es

npm run web

Starts the app in Expo's web mode, which will allow you to see it running in a browser.

npm run ios

Runs the app locally in iOS using a Simulator. You will need Xcode and the Simulator configured to get up and running. See the Expo docs for more info.

npm run android

Runs the app locally in Android using an emulator. You will need Android Studio and an emulator configured to get up and running. See the Expo docs for more info.