network_settings_state 0.1.4 copy "network_settings_state: ^0.1.4" to clipboard
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_tracker URLs in pubspec.yaml pointed 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_STATE permission, required by WifiManager.isWifiEnabled().

0.1.2 - 2026-07-06 #

Fixed #

  • android/build.gradle failed to compile in consuming apps due to invalid statement ordering around the plugins {} block.

0.1.1 - 2026-07-06 #

Fixed #

  • android/build.gradle used 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; returns null on iOS (no public API exists).
  • NetworkSettingsState.getSnapshot(): combined one-shot read.
  • NetworkSettingsState.onChanged: stream of NetworkSettingsSnapshot updates.
0
likes
0
points
84
downloads

Publisher

unverified uploader

Weekly Downloads

Check whether Wi-Fi and mobile data are enabled in device settings — not just which network is currently active.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on network_settings_state

Packages that implement network_settings_state