WARNING! These apps are currently experimental! Do not use these apps in production. Do not use these apps unless you specifically know what you are doing.
docker(for building the rust library)yarnnodejs
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 startto start the dev server - Run
yarn run androidto compile and install the app on an emulator or connected device. You can also open theandroiddirectory 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-lipocargo install cbindgensudo gem install cocoapodsto install cocoapods
- In the
./rust/iosdirectory, run./build.sh. This step will take a long time. - In the
./iosdirectory, runpod install - From the root
./of the project, runyarn install - Run
yarn react-native startto start the dev server - Run
yarn run iosto install the app on an emulator/connected device. You can also open the./iosfolder in XCode and run it there.
For notes on known issues and problems, see the trouble-shooting notes.