network_settings_state 0.1.3
network_settings_state: ^0.1.3 copied to clipboard
Query whether Wi-Fi and mobile data are enabled in the device's system settings, independent of which network is currently carrying traffic. Complements connectivity_plus rather than replacing it.
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.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.