Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renatfakhrutdinov/check_vpn_connection
A simple and lightweight Flutter package that lets you define VPN connection status on your devices.
https://github.com/renatfakhrutdinov/check_vpn_connection
dart flutter vpn
Last synced: about 1 month ago
JSON representation
A simple and lightweight Flutter package that lets you define VPN connection status on your devices.
- Host: GitHub
- URL: https://github.com/renatfakhrutdinov/check_vpn_connection
- Owner: RenatFakhrutdinov
- License: other
- Created: 2020-05-12T09:42:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-22T07:10:01.000Z (12 months ago)
- Last Synced: 2024-09-27T17:01:27.812Z (about 2 months ago)
- Topics: dart, flutter, vpn
- Language: Dart
- Homepage: https://pub.dev/packages/check_vpn_connection
- Size: 63.5 KB
- Stars: 10
- Watchers: 2
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# check_vpn_connection
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Pub](https://img.shields.io/pub/v/check_vpn_connection)](https://pub.dev/packages/check_vpn_connection)A simple and lightweight Flutter package that lets you define VPN connection status on your devices.
> Note this plugin is in the early stages of development and has been poorly tested. You can use the plugin at your own risk.
## How to use
You can get a VPN connection status, which is either `true` (vpn connected) or `false` (no vpn connection)
```
if (await CheckVpnConnection.isVpnActive()) {
// do some action if VPN connection status is true
}```
Also see our [Example](https://github.com/RenatFakhrutdinov/check_vpn_connection/tree/master/example).## Issues
Please file any issues, bugs or feature request as an issue on our [GitHub](https://github.com/RenatFakhrutdinov/check_vpn_connection/issues) page.
## Want to contribute
To contribute, follow the following easy steps
##### Step 1
- Fork this repo!
##### Step 2
- Make your own updates
##### Step 3
- Create a new pull request