Skip to content

Commit 3a640fb

Browse files
committed
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.
1 parent 90e8699 commit 3a640fb

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mhrv-rs"
3-
version = "1.2.12"
3+
version = "1.2.13"
44
edition = "2021"
55
description = "Rust port of MasterHttpRelayVPN -- DPI bypass via Google Apps Script relay with domain fronting"
66
license = "MIT"

android/app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ android {
1414
applicationId = "com.therealaleph.mhrv"
1515
minSdk = 24 // Android 7.0 — covers 99%+ of live devices.
1616
targetSdk = 34
17-
versionCode = 132
18-
versionName = "1.2.12"
17+
versionCode = 133
18+
versionName = "1.2.13"
1919

2020
// Ship all four mainstream Android ABIs:
2121
// - arm64-v8a — 95%+ of real-world Android phones since 2019

docs/changelog/v1.2.13.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- see docs/changelog/v1.1.0.md for the file format: Persian, then `---`, then English. -->
2+
• رفع باگ اندروید ‫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
3+
• بهبود ‫UI‬ لیست ‫Deployment ID‬ در اندروید: از یک ‫text field‬ چند خطی به per-row fields با دکمه‌های add/remove تبدیل شد — مدیریت چند ‫Deployment ID‬ آسان‌تر
4+
---
5+
• 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.
6+
• 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.

0 commit comments

Comments
 (0)