Files
firezone/kotlin
Jamil 2bca378f17 Allow data plane configuration at runtime (#2477)
## Changelog

- Updates connlib parameter API_URL (formerly known under different
names as `CONTROL_PLANE_URL`, `PORTAL_URL`, `PORTAL_WS_URL`, and
friends) to be configured as an "advanced" or "hidden" feature at
runtime so that we can test production builds on both staging and
production.
- Makes `AUTH_BASE_URL` configurable at runtime too
- Moves `CONNLIB_LOG_FILTER_STRING` to be configured like this as well
and simplifies its naming
- Fixes a timing attack bug on Android when comparing the `csrf` token
- Adds proper account ID validation to Android to prevent invalid URL
parameter strings from being saved and used
- Cleans up a number of UI / view issues on Android regarding typos,
consistency, etc
- Hides vars from from the `relay` CLI we may not want to expose just
yet
- `get_device_id()` is flawed for connlib components -- SMBios is rarely
available. Data plane components now require a `FIREZONE_ID` now instead
to use for upserting.


Fixes #2482 
Fixes #2471

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-30 23:46:53 -07:00
..

Firezone Android client

Prerequisites for developing locally

  1. Install a recent ruby for your platform. Ruby is used for the mock auth server.
  2. Install needed gems and start mock auth server:
cd server
bundle install
ruby server.rb
  1. Add the following to a ./local.properties file:
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

  1. Perform a test build: ./gradlew build