network_info_plus_watchos 0.1.0 copy "network_info_plus_watchos: ^0.1.0" to clipboard
network_info_plus_watchos: ^0.1.0 copied to clipboard

watchOS implementation of the network_info_plus plugin, exposing Wi-Fi IPv4 and IPv6 addresses via getifaddrs and dart:ffi (SSID is unavailable on watchOS).

0.1.0 #

  • The version moves from 0.0.1 to 0.1.0, so that a ^0.1.0 constraint admits later fixes; ^0.0.1 admits none.
  • README: the install snippet names network_info_plus: ^8.2.1 and this version.
  • pubspec.yaml: repository points at this package's folder in the plugins repo.
  • Comments now say what keeps the FFI exports in the app: the CLI force-loads the plugin archive, each export is used with default visibility, and the CLI keeps global symbols through the App Store strip. ffiSymbols lists the exports.
  • README: a "Not supported on watchOS" table; PORTING_REPORT: an "Interface coverage" list of every member of network_info_plus_platform_interface 3.1.0, audited by hand.
  • README: getWifiGatewayIP was listed as unimplemented; it returns null.
  • Example: pubspec.yaml names network_info_plus: ^8.2.1 instead of any.
  • Example: the location-permission requests are guarded with FlutterWatchosPlatform.isIos instead of Platform.isIOS, which is true on the watch, where permission_handler has no implementation; the example no longer starts with a MissingPluginException. The example depends on flutter_watchos: ^0.1.0, and a new integration test checks that it starts cleanly. The README and PORTING_REPORT list the deviations.
  • Example: the runner sets FlutterWatchOSContentScale to 0.4, so the phone example no longer overflows the watch screen (by 107 px on a 46 mm Simulator). A widget test lays it out at that scale on every watch screen size, and the README says why.

0.0.1 #

  • Initial watchOS FFI scaffold generated by flutter-watchos plugin port from network_info_plus.
0
likes
140
points
15
downloads

Documentation

API reference

Publisher

verified publisherflutterwatch.dev

Weekly Downloads

watchOS implementation of the network_info_plus plugin, exposing Wi-Fi IPv4 and IPv6 addresses via getifaddrs and dart:ffi (SSID is unavailable on watchOS).

Homepage
Repository (GitHub)
View/report issues

Topics

#watchos #ffi #network

License

BSD-3-Clause (license)

Dependencies

ffi, flutter, network_info_plus_platform_interface

More

Packages that depend on network_info_plus_watchos

Packages that implement network_info_plus_watchos