layrz_wifi 1.0.1
layrz_wifi: ^1.0.1 copied to clipboard
Flutter plugin to scan nearby WiFi networks and read the current SSID on Android, iOS, macOS, Windows, Linux, and Web.
Changelog #
1.0.1 #
- Fixes on Windows, now it really scans for WiFi networks instead of just returning an empty list.
1.0.0 #
- Replace blocking
scan()with asyncstartScan()/stopScan()and ascanResultsbroadcast stream for progressive per-network callbacks. - Add
scanEventsstream emittingWifiScanCompleteandWifiScanErrorlifecycle events. - Replace
ensurePermissions()withrequestPermissions()(returnsbool) andpermissionStatus()(returnsWifiPermissionStatus). - Unify iOS and macOS into a single
darwin/platform using#if os(iOS)/#if os(macOS)conditionals andsharedDarwinSource: true. - Add Swift Package Manager support via
darwin/layrz_wifi/Package.swift. - Fix macOS: requires
com.apple.security.network.cliententitlement forCWWiFiClientaccess under sandbox. - Fix macOS:
CLLocationManagerpermission dialog shown via plugin on firstrequestPermissions()call. - Fix Android: package renamed to
com.layrz.layrz_wifi; permissions must be declared explicitly in app manifest. - Fix iOS:
hasCurrentSsidreturnsfalseto avoidNEHotspotNetwork.fetchCurrentdeadlock on main thread. - iOS and Web are no-op platforms — no WiFi scan API is available on either.
0.1.0 #
- Initial release.
- WiFi network scanning on Android, macOS, Windows, and Linux.
- Current SSID reading on Android, iOS, macOS, Windows, and Linux.
- Web stub returns
falsefor all capability probes. - Pigeon-generated type-safe platform channels.