Skip to content

Conversation

@doromaraujo
Copy link
Collaborator

Describe your changes

This adds a new switch control to the advanced settings so that users may opt to force usage of relay when connecting to peers.
It also warns the user that this configuration change will only be applied the next time they connect to the VPN.

Environment variables set in the running android app context aren't reachable inside the netbird client's compiled .aar package, so said option is saved in SharedPreferences and sent packed as an extra EnvList parameter in io.netbird.client.tool.EngineRunner's runWithoutLogin | run function calls.

EnvList is an exported type from netbird's go client. It is used inside the go client to export its values as environment variables on the package's sandboxed OS environment.

Netbird client's submodule reference was updated to test sending the extra EnvList parameter.

Issue ticket number and link

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__

@doromaraujo doromaraujo marked this pull request as ready for review September 8, 2025 12:08
@doromaraujo doromaraujo requested a review from pappz September 8, 2025 12:08
@pappz pappz merged commit 449db69 into main Sep 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants