v1.2.13: Android Full Tunnel Mode requires credentials (fix #124)

Bug fix release. My v1.2.12 merge of Mode::Full bypassed the
deployment-ID + auth-key check on Android, but Full mode talks to
CodeFull.gs on Apps Script and needs those same credentials.

Users selecting "Full tunnel (no cert)" with empty fields would see
the VPN service bail silently instead of surfacing a clear "config
incomplete" error. Vahidlazio's fix changes the gate from
`mode == APPS_SCRIPT` to `mode != GOOGLE_ONLY` and removes the
Mode.FULL bypass in the Start button's enabled-state.

Also includes a UX refactor of the Deployment IDs editor (per-row
rows with add/remove buttons instead of raw newline-separated text),
making multi-deployment setups easier to manage on Android — useful
now that Full Tunnel Mode users routinely scale to 5+ deployments
per their Google accounts.

Android-only diff; Rust side is byte-identical to v1.2.12.
This commit is contained in:
therealaleph
2026-04-24 17:16:09 +03:00
parent f9f4845567
commit a05fc5d612
4 changed files with 10 additions and 4 deletions
Generated
+1 -1
View File
@@ -2186,7 +2186,7 @@ dependencies = [
[[package]]
name = "mhrv-rs"
version = "1.2.12"
version = "1.2.13"
dependencies = [
"base64 0.22.1",
"bytes",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "mhrv-rs"
version = "1.2.12"
version = "1.2.13"
edition = "2021"
description = "Rust port of MasterHttpRelayVPN -- DPI bypass via Google Apps Script relay with domain fronting"
license = "MIT"
+2 -2
View File
@@ -14,8 +14,8 @@ android {
applicationId = "com.therealaleph.mhrv"
minSdk = 24 // Android 7.0 — covers 99%+ of live devices.
targetSdk = 34
versionCode = 132
versionName = "1.2.12"
versionCode = 133
versionName = "1.2.13"
// Ship all four mainstream Android ABIs:
// - arm64-v8a — 95%+ of real-world Android phones since 2019
+6
View File
@@ -0,0 +1,6 @@
<!-- see docs/changelog/v1.1.0.md for the file format: Persian, then `---`, then English. -->
• رفع باگ اندروید Full Tunnel Mode (PR #124): در ‫v1.2.12‬ من در مسیر ادغام، چک Deployment ID + Auth key رو برای حالت ‫FULL‬ دور زده بودم. ولی ‫Full mode هم با CodeFull.gs روی Apps Script‬ صحبت می‌کنه و به همون credentialها نیاز داره. کاربرایی که Full tunnel (no cert) رو انتخاب می‌کردن با فیلدهای خالی، proxy بدون خطای واضح قطع می‌شد. حالا درست می‌پرسه. تشکر از @vahidlazio
• بهبود UI لیست Deployment ID‬ در اندروید: از یک ‫text field چند خطی به per-row fields با دکمه‌های add/remove تبدیل شد — مدیریت چند ‫Deployment ID آسان‌تر
---
• Bug fix for Android Full Tunnel Mode (PR #124): in v1.2.12's merge of Mode::Full I incorrectly bypassed the deployment-ID + auth-key check for Full mode. But Full mode talks to CodeFull.gs on Apps Script and needs the same credentials. Users picking "Full tunnel (no cert)" with empty fields would see the proxy bail without a clear error. Now it asks properly. Credit to @vahidlazio.
• Deployment IDs editor UI improvement on Android: from a multi-line text field to per-row fields with add/remove buttons — easier to manage multi-deployment setups.