layrz_wifi 1.1.0
layrz_wifi: ^1.1.0 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.1.0 #
- Upgraded the Android build toolchain to Gradle
9.1, Android Gradle Plugin9.0.1, and Kotlin2.3.20. - Replaced the deprecated
kotlinOptionsblock with the modernkotlin { compilerOptions }DSL across the plugin and example app. - Removed a stray Groovy
android/settings.gradleleft over alongside the Kotlin DSLsettings.gradle.kts.
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.