パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.0.2

check_vpn_connection

デバイス上のVPN接続状態を定義できる、シンプルで軽量なFlutterパッケージです。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
3140
いいね数
39
Pub ポイント
160

パッケージをインストール

flutter pub add check_vpn_connection

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

複数のプラットフォームでVPN接続状態を検出するための軽量なFlutterパッケージです。デバイスが現在VPNに接続されているかどうかを確認するためのシンプルなAPIを提供し、アプリがネットワーク状態に応じて動的に反応できるようにします。複雑な設定なしに信頼性と一貫性のあるVPNステータス検出が必要な開発者向けに設計されています。Android、iOS、macOS、Windows、Linuxで動作し、ネットワーク認識が必要なクロスプラットフォームアプリに最適です。

用途

  • リアルタイムでアクティブなVPN接続を検出する
  • VPNの状態に基づいて機能を有効または無効にする
  • ネットワークの整合性を検証することでセキュリティを向上させる
  • 地理制限コンテンツアクセスロジックのサポート
  • ネットワーク環境の変更をモニタリング

主な機能

  • クロスプラットフォーム互換性
  • 最小API表面
  • 軽量で高速
  • Android、iOS、macOS、Windows、Linux をサポートしています
  • VPNステータスの簡単なブール結果

適している対象

  • ネットワーク対応アプリケーション
  • セキュリティに焦点を当てたアプリ
  • 位置情報サービス
  • 地域チェック付きのストリーミングまたはゲームアプリ
  • 動的機能切り替えを必要とするアプリ

注意事項

  • プラットフォーム固有のシステムAPIに依存しています
  • すべてのカスタムまたはサードパーティのVPNを検出できない可能性があります
  • 実行時構成オプションなし
  • 接続状態の確認に限定され、VPNの管理は行わない
  • 正確性はOSレベルの実装に依存します

元の README

関連するソースリポジトリの 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

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。