battery_plus_watchos 0.1.1
battery_plus_watchos: ^0.1.1 copied to clipboard
watchOS implementation of the battery_plus plugin, reporting battery level, charging state, and low-power mode from WKInterfaceDevice via dart:ffi.
0.1.1 #
- README: the install snippet names
battery_plus: ^7.1.1and this version, and says to add this package alongsidebattery_plus. 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
battery_plus_platform_interface2.0.1, audited by hand. - Example:
pubspec.yamlnamesbattery_plus: ^7.1.1instead ofany. - Example: the runner sets
FlutterWatchOSContentScaleto 0.4, so the phone example no longer overflows the watch screen (by 122 px on a 49 mm Simulator). A widget test lays it out at that scale on every watch screen size, and the README says why.
0.1.0 #
- First working release. FFI implementation over
WKInterfaceDevice(level, state) andNSProcessInfo(Low Power Mode); poll-basedonBatteryStateChanged.
0.0.1 #
- Initial watchOS scaffolding generated by
flutter-watchos plugin portfrombattery_plus.