package_info_plus_watchos 0.1.1 copy "package_info_plus_watchos: ^0.1.1" to clipboard
package_info_plus_watchos: ^0.1.1 copied to clipboard

watchOS implementation of the package_info_plus plugin, reading app name, version, build number, and install metadata from NSBundle via dart:ffi.

package_info_plus_watchos #

The watchOS implementation of package_info_plus.

Scaffolded with flutter-watchos plugin port and finished by hand as an FFI implementation over NSBundle — see PORTING_REPORT.md.

Usage #

This is a federated plugin implementation. Apps that already depend on package_info_plus and target watchOS only need to add this package as a dependency, alongside the upstream plugin:

dependencies:
  package_info_plus: ^10.2.1
  package_info_plus_watchos: ^0.1.1

PackageInfo.fromPlatform() then works on the watch — no imports needed in app code.

API coverage #

Field watchOS
appName ✅ CFBundleDisplayName / CFBundleName
packageName ✅ CFBundleIdentifier
version ✅ CFBundleShortVersionString
buildNumber ✅ CFBundleVersion
buildSignature — empty (an Android signing concept; iOS reports it empty too)
installerStore ✅ from the App Store receipt path: com.apple.simulator on the Simulator, com.apple.testflight for a sandbox receipt, otherwise com.apple
installTime ✅ creation date of the app's Documents directory, or null if it cannot be read
updateTime ✅ modification date of the app bundle, or null if it cannot be read

Example on the watch screen #

The package ships the upstream example app and its official integration test verbatim. The upstream UI is phone-designed and does not fit a watch screen at native density, so the example's runner opts into the flutter-watchos content scale (watchos/Runner/Info.plist):

<key>FlutterWatchOSContentScale</key>
<real>0.4</real>

This lays the app out in a proportionally larger logical space rendered smaller — same layout, smaller components — without touching the example's Dart code. With it, the official integration test gives 1 of 2 on the watchOS 27.0 Simulator (29 September 2026): fromPlatform passes, and the example case fails because it looks for more of the demo's list than the watch screen shows.

Not supported on watchOS #

Nothing: every member of package_info_plus_platform_interface 4.1.0 is implemented. PORTING_REPORT.md lists each member under "Interface coverage".

License #

The FlutterWatch Authors under a BSD-3-Clause license. See LICENSE for the full text.

0
likes
140
points
260
downloads

Documentation

API reference

Publisher

verified publisherflutterwatch.dev

Weekly Downloads

watchOS implementation of the package_info_plus plugin, reading app name, version, build number, and install metadata from NSBundle via dart:ffi.

Homepage
Repository (GitHub)
View/report issues

Topics

#watchos #ffi #package-info

License

BSD-3-Clause (license)

Dependencies

ffi, flutter, package_info_plus_platform_interface

More

Packages that depend on package_info_plus_watchos

Packages that implement package_info_plus_watchos