Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(app, expo): improve messaging for expo development build users #8310

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ The following is an example `app.json` to enable the React Native Firebase modul

If you are compiling your app locally, run [`npx expo prebuild --clean`](https://docs.expo.dev/workflow/prebuild/) to generate the native project directories. Then, follow the local app compilation steps described in [Local app development](https://docs.expo.dev/guides/local-app-development/) guide in Expo docs. If you prefer using a build service, refer to [EAS Build](https://docs.expo.dev/build/setup/).

Note that if you have already installed the `Expo Go` app (using something like `npx expo run` instead of doing the `--prebuild` local development steps...) then you must uninstall it first. The `Expo Go` app does not contain most non-Expo native modules like react-native-firebase, and you will see errors related to the native modules not being loaded if you try to use it.
Note: if you have already installed an Expo development build on your device/simulator (i.e. using `npx expo prebuild` and `npx expo run:<platform>`) prior to adding `react-native-firebase` to your project, then you may see errors related to the native modules not being loaded if you try to use it, e.g. `'Native module RNFBAppModule not found. Re-check module install, linking, configuration, build and install steps.'`. If so, you should uninstall the previous the development build from your device/simulator, do a clean build using `npx expo prebuild --clean`, and then redeploy using `npx expo run:<platform>`.

#### Expo Tools for VSCode

Expand Down
Loading