Skip to content

feat: Android UI for full tunnel mode (3/3)#123

Closed
vahidlazio wants to merge 1 commit into
therealaleph:mainfrom
vahidlazio:feat/full-tunnel-android-v2
Closed

feat: Android UI for full tunnel mode (3/3)#123
vahidlazio wants to merge 1 commit into
therealaleph:mainfrom
vahidlazio:feat/full-tunnel-android-v2

Conversation

@vahidlazio

@vahidlazio vahidlazio commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Part 3 of 3: Full Tunnel Mode

Android credential check fix for full tunnel mode. Depends on #94 (now merged).

What

Bug fix: the Android MhrvVpnService credential check was mode == APPS_SCRIPT, which meant full mode could start without deployment IDs or auth key — then silently fail at runtime when the Rust side couldn't reach Apps Script.

Fix: needsCreds = mode != GOOGLE_ONLY — both apps_script and full modes now require credentials. Only google_only (bootstrap) skips the check.

1 file changed

🤖 Generated with Claude Code

Android-side changes to support Mode::Full in the UI and VPN service.

- ConfigStore.kt: Mode.FULL enum variant, toJson/fromJson serialization
- MhrvVpnService.kt: skip "incomplete config" check for Full mode
  (merged with upstream therealaleph#73 startForeground crash fix)
- HomeScreen.kt: "Full tunnel (no cert)" in mode dropdown, start button
  enabled, script ID fields shown for full mode

Depends on: Rust-side Mode::Full (separate PR).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vahidlazio vahidlazio closed this Apr 24, 2026
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.

1 participant