FLUTTER ECOSYSTEM

vpn_connection_detector

VPN connection detection for Flutter with native iOS & Android support. Includes real-time status stream & one-time checks.

Latest version
2.1.0
30-day downloads
13K
Likes
38
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter package that detects VPN connections on Android, iOS, macOS, Windows, and Linux using native platform APIs. It provides a real-time stream of VPN status changes and supports one-time checks to determine current connectivity. Designed for apps needing to monitor or respond to VPN usage, such as security tools, network-aware applications, or privacy-focused services. The package ensures reliable detection across platforms with minimal setup.

Use cases
  • Monitoring active VPN connections
  • Implementing network security checks
  • Building privacy-focused apps
  • Detecting connection changes in real time
  • Ensuring compliance with network policies
Key features
  • Real-time status streaming
  • One-time connection checks
  • Cross-platform support (Android, iOS, macOS, Windows, Linux)
  • Native platform integration
  • Simple API for status monitoring
Suitable for
  • Security and privacy applications
  • Network-aware mobile apps
  • Apps requiring real-time connectivity insights
  • Developers targeting multiple platforms
  • Tools that need to detect VPN usage
Considerations
  • Requires platform-specific permissions
  • May not detect all custom or third-party VPNs
  • Behavior may vary slightly between platforms
  • Limited to detecting active VPN states, not detailed configuration
  • Depends on native implementation reliability
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add vpn_connection_detector

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects