Skip to content

Latest commit

 

History

History
 
 

react-native

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.