FLUTTER ECOSYSTEM

RenatFakhrutdinov/check_vpn_connection

一个简单轻量的 Flutter 包,可让您定义设备上的 VPN 连接状态。

检查VPN连接 项目封面
Stars
10
Forks
8
最近推送(UTC)
2023年11月22日
项目状态
未归档
Renat Fakhrutdinov GitHub avatar
GITHUB User

Renat Fakhrutdinov ↗

Software engineer

Russia
语言DartSwiftKotlinObjective-C

技术话题

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

check_vpn_connection

License: MIT Pub

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.

Issues

Please file any issues, bugs or feature request as an issue on our GitHub 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