network_settings_state 0.1.4
network_settings_state: ^0.1.4 copied to clipboard
Check whether Wi-Fi and mobile data are enabled in device settings — not just which network is currently active.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.4 - 2026-07-06 #
Fixed #
homepage/repository/issue_trackerURLs inpubspec.yamlpointed to a non-existent repository, and the description exceeded pub.dev's recommended length. Both are now corrected.
0.1.3 - 2026-07-06 #
Fixed #
- Declare the
ACCESS_WIFI_STATEpermission, required byWifiManager.isWifiEnabled().
0.1.2 - 2026-07-06 #
Fixed #
android/build.gradlefailed to compile in consuming apps due to invalid statement ordering around theplugins {}block.
0.1.1 - 2026-07-06 #
Fixed #
android/build.gradleused a legacy Kotlin version declaration that could conflict with a consuming app's own Kotlin/AGP resolution. Now uses the Plugin DSL and inherits the version from the host app.
0.1.0 - 2026-07-03 #
Added #
NetworkSettingsState.isWifiEnabled(): reliable on Android and iOS (iOS is best-effort via interface availability; see README).NetworkSettingsState.isMobileDataEnabled(): reliable on Android; returnsnullon iOS (no public API exists).NetworkSettingsState.getSnapshot(): combined one-shot read.NetworkSettingsState.onChanged: stream ofNetworkSettingsSnapshotupdates.