[stealth 07/11] Add Android stealth no-VPN proxy build#8782
Open
reflog wants to merge 16 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an Android stealth no-VPN build mode that swaps out VPN manifest exposure, starts Radiance in local proxy mode, and adjusts Flutter UI to present manual SOCKS5/HTTP CONNECT proxy setup instead of VPN routing controls.
Changes:
- Adds Gradle/Make switches and a no-VPN Android manifest/proguard discard checks.
- Adds Android no-VPN service path and method-channel guards for VPN-only features.
- Adds Flutter build flag, proxy UI, localized labels, and documentation for the new build.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
Makefile |
Adds stealth no-VPN APK/AAB output names and release targets. |
android/app/build.gradle |
Adds stealthNoVpn project property, BuildConfig fields, manifest selection, and release R8 rules. |
android/app/proguard-stealth-novpn.pro |
Adds R8 discard checks for VPN service and quick tile classes. |
android/app/src/main/AndroidManifest.novpn.xml |
Defines the no-VPN Android manifest with NoVpnLanternService and no VPN/quick tile services. |
android/app/src/main/kotlin/org/getlantern/lantern/MainActivity.kt |
Routes start/stop/server-selection actions to the no-VPN proxy service when enabled. |
android/app/src/main/kotlin/org/getlantern/lantern/handler/MethodHandler.kt |
Short-circuits split tunneling and VPN conflict checks in no-VPN builds. |
android/app/src/main/kotlin/org/getlantern/lantern/service/NoVpnLanternService.kt |
Adds the Android service that starts/stops Radiance local proxy mode. |
lib/core/common/app_build_info.dart |
Adds the Dart STEALTH_NO_VPN build flag. |
lib/core/common/stealth_no_vpn_proxy.dart |
Centralizes local proxy host/port constants for Flutter UI. |
lib/features/home/home.dart |
Replaces VPN switch/status/routing UI with proxy panel in no-VPN builds. |
lib/features/home/no_vpn_proxy_panel.dart |
Adds the home-screen proxy status and start/stop panel. |
lib/features/setting/setting.dart |
Renames the VPN settings entry to proxy setup in no-VPN builds. |
lib/features/setting/vpn_setting.dart |
Shows manual proxy setup details instead of VPN routing/split-tunneling settings. |
lib/features/vpn/provider/vpn_notifier.dart |
Skips VPN conflict checks in no-VPN builds. |
assets/locales/en.po |
Adds English strings for proxy setup UI. |
docs/stealth-novpn-proxy.md |
Documents build commands, switches, outputs, and runtime proxy behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
Closes #8769