搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫CadisRaziel/plugin_wifi_connect

plugin_wifi_connect

CadisRaziel/plugin_wifi_connect open-source repository details.

plugin_wifi_connect 專案封面
星標
16
分支
59
最近推送(UTC)
2026年2月3日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

plugin_wifi_connect

This package is a continuation of the package below:

https://pub.dev/packages/flutter_wifi_connect

We will take care, so that the necessary maintenance can always occur, as well as new features,

we thank weplenish for allowing us to continue the project, which we need to use, due to our work.

summary:

A low dependency flutter plugin to allow simple connection to wifi devices with the provided ssid or ssid prefix. Built for Android 10+ (API 29) and iOS 11+.

This plugin is made with the latest / greatest direct connect to wifi options. It's intent is to make it easy to programmatically connect to devices that broadcast unique SSIDs. Items like IOT devices.

This should connect to an explicit SSID on iOS 11+ and Android 1+. To connect to an SSID matching a prefix it should work on iOS 13+ and Android 1+. On Android 1-29 it will scan nearby wifi networks and attempt to connect to the one matching the prefix (requiring ACCESS_FINE_LOCATIONS).

Getting Started

Ensure you have the permissions set up and request them appropriately for each platform. This plugin's goal isn't to force permissions. This means if you have a different target, you don't need more permissions than you would otherwise be forced to require.

Permissions

iOS

These must be added in xcode

  • Access WiFi Information Entitlement (to request ssid and ensure connection to the correct network)
  • Hotspot Configuration Entitlement (to connect to a network)

Android

Make sure you verify permissions during runtime (using a permission plugin). In Android it looks like this

29+ (Android Q+)

  • ACCESS_FINE_LOCATION (only if using get ssid)

Older than 29 (P and older)

  • ACCESS_WIFI_STATE
  • CHANGE_WIFI_STATE
  • CHANGE_NETWORK_STATE
  • ACCESS_FINE_LOCATION (only if using prefix Connect)
Vitor Brussolo Zerbato GitHub avatar
GitHub 作者

Vitor Brussolo Zerbato ↗

Desenvolvedor de software | Bacharel em Ciência da Computação | Cursando pós-graduação em Arquitetura de Software, Ciência de Dados e Cybersecurity

Desenvolvedor na All RIskBrazil, São José do Rio Preto - SP
語言KotlinDartSwiftRubyObjective-C

使用的依賴

依賴清單 3 項

  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}
  • flutter_lints開發依賴>=1.0.0 <3.0.0

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗