mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
- Replaced connlib dependency to use `rust/connlib/clients/android/lib` project - Added `rust-android-gradle` to android project - Set the `cargo build` target directory to `rust/connlib/clients/android/lib/build/cargo-target` - Moved `logger`, `session`, and `vpn` classes to their independent packages. - Added `SessionCallback` contract for the session callbacks. --------- Signed-off-by: Pratik Velani <pratikvelani@gmail.com> Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
Firezone Android client
Prerequisites for developing locally
- Install a recent
rubyfor your platform. Ruby is used for the mock auth server. - Install needed gems and start mock auth server:
cd server
bundle install
ruby server.rb
- Add the following to a
./local.propertiesfile:
sdk.dir=/path/to/your/ANDROID_HOME
Replace /path/to/your/ANDROID_HOME with the path to your locally installed
Android SDK. On macOS this is /Users/jamil/Library./Android/sdk
- Perform a test build:
./gradlew build