Development
First install the project dependencies:
$ bun install
Then we need to install the following tools:
$ bun install eas-cli
- Just a clarification, because we are using Native Firebase we need to use EAS deployment instead of Expo Go.
Instructions to configure firebase account here
The run on android
$ bun run android
To use "Expo Go", only if you have a local build
$ bun expo start --tunnel
Requirements for Linux
yay -S android-platform --noconfirm
sudo archlinux-java set java-17-openjdk
create android/local.properties with sdk.dir=/opt/android-sdk/
Configure firebase account
First of all, you need to create a Firebase account and a project, if you don't have one, you can create it here.
Then you need to create a new ios app, and an android app, and download the google-services.json and GoogleService-Info.plist files.
Put the files in the root directory of the project. Then run the following command to install the dependencies:
$ bun expo prebuild
This is going to copy the files to the correct directories, and modify the IOS plist file.
NOTE: This is the official way to configure a Firebase account, but we suspect it may only work with a paid Firebase plan.
Workaround -> To use asanluis's account. Share your phone number with him, as Firebase requires it for testing phone authentication.