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

パッケージ詳細v7.3.2

connectivity_plus

Android および iOS でのネットワーク(Wi-Fi およびモバイル/セルラー)接続状態を検出するための Flutter プラグイン。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
443万
いいね数
4100
Pub ポイント
160

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

flutter pub add connectivity_plus

パッケージ概要

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

connectivity_plus は、Android、iOS、Web、macOS、Windows、Linux でネットワーク接続の変化を検出し、それに応じて反応できるようにする Flutter プラグインです。Wi-Fi、モバイルデータ、または接続なしといった現在有効な接続タイプに関するリアルタイム情報を提供し、開発者がネットワークの利用可能性に応じて適応する堅牢なアプリケーションを構築できるようにします。このパッケージは、プラットフォーム間でシンプルかつ一貫した API を提供しており、オフライン状態の処理、データの同期、ネットワークステータスの表示などに最適です。

用途

  • リアルタイムでのネットワーク状態のモニタリング
  • オフラインモードをスムーズに処理する
  • 接続インジケーターの表示
  • 失敗したリクエストの自動再試行
  • 接続タイプに応じたデータ使用量の最適化

主な機能

  • クロスプラットフォーム対応(Android、iOS、Web、macOS、Windows、Linux)
  • リアルタイム接続状態の更新
  • WiFiおよびモバイルデータ接続の検出
  • 初期状態およびストリームベースの監視の両方をサポート
  • シンプルで直感的な API と最小限のセットアップ

適している対象

  • 信頼できるネットワーク認識を必要とするアプリ
  • オフライン対応のアプリケーション
  • 接続コンテキストを必要とするデータ集約型サービス
  • 一貫した動作で複数のプラットフォームをターゲットにする開発者

注意事項

  • Android および iOS でプラットフォーム固有の権限が必要です
  • ブラウザによっては、Web サポートに制限が生じる可能性があります
  • インターネット接続を検出しない—ローカル接続のみ
  • 実際のインターネット到達可能性を検証するために追加の論理が必要になる場合があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Plus plugins

build

all_plugins GitHub Workflow Status Follow on Twitter


PlusPlugins is a set of Flutter plugins that is developed based on plugins, which previously existed as a part of Flutter plugins, with extra functionalities, support for more platforms and better maintenance.

Feedback and Pull Requests are most welcome!

Plugins

Table of contents:


battery_plus

battery_plus pub points

Flutter plugin for accessing information about the battery state (full, charging, discharging) on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

connectivity_plus

connectivity_plus pub points

Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

device_info_plus

device_info_plus pub points

Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

network_info_plus

network_info_plus pub points

Flutter plugin for discovering network info.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ❌ ✅ ✅

package_info_plus

package_info_plus pub points

Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

sensors_plus

sensors_plus pub points

Flutter plugin for accessing accelerometer, gyroscope, magnetometer and barometer sensors.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ❌ ✅ ❌ ❌

share_plus

share_plus pub points

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

android_alarm_manager_plus

android_alarm_manager_plus pub points

Flutter plugin for accessing the Android AlarmManager service, and running Dart code in the background when alarms fire.

[readme] [code]

Platform Support
Android
✅

android_intent_plus

android_intent_plus pub points

Flutter plugin for launching Android Intents. Not supported on iOS.

[readme] [code]

Platform Support
Android
✅

Issues

Please file PlusPlugins specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to PlusPlugins can be filed in the Flutter issue tracker.

Contributing

If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide and open a pull request.

Status

This repository is maintained by FlutterCommunity authors. Issues here are answered by maintainers and other community members on GitHub on a best-effort basis.

カテゴリー

依存関係

依存関係一覧 5 件

ソースリポジトリ

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

ランキング