flutter_bin 2.0.0
flutter_bin: ^2.0.0 copied to clipboard
A Flutter plugin to retrieve metadata (version, product name, and more) from binary files on desktop platforms. Supports Windows and macOS.
2.0.0 #
-
BREAKING:
getBinaryFileVersion(and theversionmetadata field) now returns a semantic version (major.minor.patch) on all platforms. On Windows the trailing revision of the PE file version is dropped (e.g.6.2.26100.8521→6.2.26100).
-
Fix:
- Windows:
getBinaryFileVersionnow returnsnull(previouslyfalse) for files without version information, matching the documented contract. - Windows: a non-string
filePathargument now returns anINVALID_ARGUMENTerror instead of crashing the plugin.
- Windows:
-
Improvements:
- Documented the method-channel key contract; the Dart
BinaryFileMetadataJsonKeyenum is the single source of truth for the metadata keys. - Internal refactors: shared version-info loader (Windows) and shared Info.plist loader (macOS), with no change in behavior.
- Documented the method-channel key contract; the Dart
-
Tooling:
- Added a Windows native unit-test harness (GoogleTest) and real macOS XCTests.
- Added CI (GitHub Actions) running Dart analyze/test, the Windows gtest suite, and the macOS XCTest suite on every push and pull request.
1.1.3 #
- Update:
- update license
1.1.2 #
- Update:
- update license
1.1.1 #
- Fix:
- improvement of typos
1.1.0 #
- Added macOS platform support:
- Retrieve file version information from macOS binary files
- Extract metadata from Info.plist files in macOS applications
- Support for both .app bundles and standalone binaries
1.0.0 #
Initial release of the flutter_bin plugin.
-
Features:
- Get basic version information from binary files on Windows
- Get comprehensive metadata from Windows binary files including:
- Product name
- File description
- Legal copyright
- Original filename
- Company name
- Support for file path input or FilePicker selection
- Cross-platform API design (currently implemented for Windows)
-
Platforms:
- Windows: Full implementation
- Other platforms: API ready but not implemented yet