docker
(for building the rust library)yarn
nodejs
Carefully follow the instructions to setup Android Studio for your operating system. It is not neccessary to install watchman or the Android 12 system images.
If you do not have a physical device, you can create and start a new Android 11, API 30 emulator device compatible with the chip on your system and start the emulated device.
- Start docker daemon
- AS A NONROOT USER: In the
rust/
directory, run./build.sh
. This step will take a long time. - From the root of the project, run
yarn install
- Run
yarn react-native start
to start the dev server - Run
yarn run android
to compile and install the app on an emulator or connected device. You can also open theandroid
directory in Android Studio as a project, select 'app' and the API 30 system image in the upper toolbar and click the "Run 'app'" button.
- Install Rust
- Add the ios targets
rustup target add aarch64-apple-ios x86_64-apple-ios
cargo install cargo-lipo
cargo install cbindgen
sudo gem install cocoapods
to install cocoapods
- In the
./rust/ios
directory, run./build.sh
. This step will take a long time. - In the
./ios
directory, runpod install
- From the root
./
of the project, runyarn install
- Run
yarn react-native start
to start the dev server - Run
yarn run ios
to install the app on an emulator/connected device. You can also open the./ios
folder in XCode and run it there.
For notes on known issues and problems, see the trouble-shooting notes.