check_vpn_connection
0.0.2, released 5 years ago by an unverified publisher
Check whether a VPN connection is active on your device.
What it does
Provides a simple method to check the current VPN connection status on a device. Returns a boolean indicating whether a VPN is active or not.
AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to check if a user is connected to a VPN
- You want a lightweight solution for VPN status detection
Skip it when
- You need production-grade stability and extensive platform testing
- You need advanced networking or tunneling configuration capabilities
Strengths
- Simple and lightweight API
- Supports multiple platforms including Android, iOS, Windows, macOS, and Linux
Weaknesses
- In early stages of development and poorly tested
- Very limited feature set
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
if (await CheckVpnConnection.isVpnActive()) {
// do some action if VPN connection status is true
}Alternatives
Packages that do the same job and could replace check_vpn_connection.
- device_marketing_names
Lookup device marketing names for Android, iOS and browsers easily.
85Compare - device_safety_info
Provides root, jailbreak, debugger, screenshot, VPN and other security checks for Flutter apps.
82Compare - vpn_connection_detector
Detect system and third-party VPN connections with native iOS and Android support.
65Compare - plugin_wifi_connect
Connects mobile devices to Wi-Fi networks using a specific SSID or SSID prefix.
77Compare