DEV Community

Cover image for πŸš€ Flutter V2Ray Client v3.2.0 + Hysteria2β€Š-β€ŠA Major Leap in VPN Performance
Amir Ziari
Amir Ziari

Posted on

πŸš€ Flutter V2Ray Client v3.2.0 + Hysteria2β€Š-β€ŠA Major Leap in VPN Performance

We’re excited to announce version 3.2.0 of the Flutter V2Ray Client β€” a release that significantly upgrades the core architecture, improves mobile stability, and introduces powerful new networking capabilities.

This update is not just a routine bump β€” it’s a core-level evolution, powered by the latest Xray v26.4.17.


πŸ”₯ What’s New in v3.2.0?

🧠 Core Upgrade β€” Xray v26.4.17

We’ve updated the embedded core from the v25.10.15 line to v26.4.17, bringing a wide range of improvements across performance, networking, and security.


βš™οΈ Architecture Improvements

πŸ“‘ Native TUN Mode (Android VPN)

The biggest change in this release:

  • Full integration with Android’s VpnService
  • True device-wide VPN via TUN interface
  • Reduced dependency on legacy tun2socks setups

πŸ‘‰ Result:

  • Better performance
  • Lower latency
  • More stable connections on mobile networks

🎯 Process-Based Routing

Fine-grained traffic control is now possible:

  • Route traffic per-app (where Android allows)
  • Better control over which apps use VPN

πŸ‘‰ Ideal for:

  • Split tunneling
  • Battery optimization
  • Advanced routing rules

🌐 Protocol & Networking Enhancements

⚑ Hysteria2 Support

A modern UDP-based protocol designed for mobile conditions:

  • High throughput
  • Better performance on unstable networks
  • Reduced latency under packet loss

πŸ”„ UDPhop

Dynamic port hopping for UDP traffic:

  • Keeps connections alive under throttling
  • Bypasses port-based restrictions

🦎 Salamander Obfuscation

An optional obfuscation layer:

  • Makes traffic harder to detect
  • Improves resilience against DPI (Deep Packet Inspection)

πŸ•΅οΈ Advanced Obfuscation β€” FinalMask

More tools to stay undetectable:

  • Custom HTTP/TCP headers
  • TCP fragmentation
  • UDP noise injection
  • Randomized traffic patterns

πŸ‘‰ Result:

  • Stronger resistance against fingerprinting
  • Better reliability in restricted networks

πŸ” Security Upgrades

πŸ“Œ Certificate Pinning

  • Replaces insecure TLS options
  • Uses pinnedPeerCertSha256

πŸ‘‰ Prevents:

  • MITM attacks
  • Fake certificates

πŸ›‘οΈ REALITY Enhancements

  • Stricter certificate validation
  • Better detection of interception

πŸ‘‰ Especially important on:

  • Public WiFi
  • Mobile networks

🌍 DNS & Routing Improvements

🧭 XDNS

  • More stable DNS resolution on mobile
  • Better behavior during network switches (WiFi ↔ Mobile Data)
  • Improved routing consistency in TUN mode

πŸ“± Mobile Performance & Stability

This release focuses heavily on real-world Android usage:

  • Reduced memory consumption (optimized geodata)
  • Fewer runtime crashes
  • Better handling of long-lived background sessions
  • Improved performance on weak or unstable networks

πŸ”Œ Android TUN Improvements

We’ve refined the VPN service layer:

  • More stable packet handling
  • Reduced packet loss on high-latency connections
  • Better behavior under Android background restrictions
  • Fewer stalls and race conditions

πŸ”„ What Changed

  • Updated libv2ray (AAR)
  • Updated V2rayCoreManager
  • Fully aligned with new Xray APIs and architecture

🎯 Why This Release Matters

Version 3.2.0 is a major step toward:

  • True native VPN performance on Android
  • Stronger censorship resistance
  • More reliable long-term connections
  • Cleaner and more modern architecture

If you're building a VPN app or integrating V2Ray into Flutter, this update gives you a solid, future-proof foundation.


πŸ“¦ Get Started

πŸ‘‰ GitHub: https://github.com/amir-zr/flutter_v2ray_client


If you’ve been waiting for a more stable, powerful, and production-ready mobile VPN core β€” this is it.

Tags: #Flutter #VPN #V2Ray #XRay #Hysteria #Hysteria2 #Android #Proxy #Dart #OpenSource #Privacy #MobileDevelopment

Links:

Top comments (0)