Skip to content

[stealth 07/11] Add Android stealth no-VPN proxy build#8782

Open
reflog wants to merge 16 commits into
mainfrom
stealth/8769-novpn-proxy
Open

[stealth 07/11] Add Android stealth no-VPN proxy build#8782
reflog wants to merge 16 commits into
mainfrom
stealth/8769-novpn-proxy

Conversation

@reflog
Copy link
Copy Markdown
Contributor

@reflog reflog commented May 15, 2026

Summary

  • add an Android stealth no-VPN build switch that selects a manifest without VpnService or quick tile exposure
  • start Radiance using its existing local mixed SOCKS5/HTTP CONNECT proxy mode on 127.0.0.1:14986
  • hide VPN-only routing/split-tunneling UI in no-VPN builds and add manual proxy setup instructions
  • add release R8 checkdiscard rules for the VPN service and quick tile classes

Validation

  • flutter analyze lib/core/common/app_build_info.dart lib/core/common/stealth_no_vpn_proxy.dart lib/features/home/home.dart lib/features/home/no_vpn_proxy_panel.dart lib/features/setting/setting.dart lib/features/setting/vpn_setting.dart lib/features/vpn/provider/vpn_notifier.dart
  • git diff --cached --check
  • rg found no VpnService/BIND_VPN_SERVICE/QuickTileService strings in AndroidManifest.novpn.xml
  • ANDROID_SDK_ROOT=/tmp make -n android-stealth-novpn-release

Closes #8769

Copilot AI review requested due to automatic review settings May 15, 2026 13:14
@reflog reflog self-assigned this May 15, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread android/app/src/main/AndroidManifest.novpn.xml Outdated
Comment thread android/app/src/main/kotlin/org/getlantern/lantern/MainActivity.kt Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.

Comment thread android/app/src/main/AndroidManifest.novpn.xml Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.

Comment thread android/app/src/main/kotlin/org/getlantern/lantern/service/NoVpnLanternService.kt Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.

Comment thread lib/features/home/no_vpn_proxy_panel.dart
Comment thread android/app/src/main/AndroidManifest.novpn.xml Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 4 comments.

Comment thread Makefile
Comment thread lib/features/setting/vpn_setting.dart
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.

Comment thread android/app/src/main/kotlin/org/getlantern/lantern/MainActivity.kt
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.

Comment thread android/app/src/main/AndroidManifest.novpn.xml Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 2 comments.

Comment thread android/app/src/main/kotlin/org/getlantern/lantern/service/NoVpnLanternService.kt Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated no new comments.

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.

Stealth No-VPN: Local SOCKS/HTTP proxy build

3 participants