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