network_info_plus_watchos 0.1.0
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.0constraint admits later fixes;^0.0.1admits none. - README: the install snippet names
network_info_plus: ^8.2.1and this version. pubspec.yaml:repositorypoints 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
usedwith default visibility, and the CLI keeps global symbols through the App Store strip.ffiSymbolslists the exports. - README: a "Not supported on watchOS" table; PORTING_REPORT: an "Interface
coverage" list of every member of
network_info_plus_platform_interface3.1.0, audited by hand. - README:
getWifiGatewayIPwas listed as unimplemented; it returns null. - Example:
pubspec.yamlnamesnetwork_info_plus: ^8.2.1instead ofany. - Example: the location-permission requests are guarded with
FlutterWatchosPlatform.isIosinstead ofPlatform.isIOS, which is true on the watch, wherepermission_handlerhas no implementation; the example no longer starts with aMissingPluginException. The example depends onflutter_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
FlutterWatchOSContentScaleto 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 portfromnetwork_info_plus.