Skip to content

Commit 87457bf

Browse files
authored
docs(package_info_plus): Add explanation for known issue on Windows (#2029)
1 parent 5510a4e commit 87457bf

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/package_info_plus/usage.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,10 @@ See [CFBundleVersion docs](https://developer.apple.com/documentation/bundleresou
5555

5656
Calling to `PackageInfo.fromPlatform()` before the `runApp()` call will cause an exception.
5757
See https://github.com/fluttercommunity/plus_plugins/issues/309
58+
59+
### Windows
60+
61+
#### Plugin returns wrong version
62+
63+
There was an [issue](https://github.com/flutter/flutter/issues/73652) in Flutter, which is already resolved since Flutter 3.3.
64+
If your project was created before Flutter 3.3 you need to migrate the project according to [this guide] (https://docs.flutter.dev/release/breaking-changes/windows-version-information) first to get correct version with `package_info_plus`

packages/package_info_plus/package_info_plus/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ string in `pubspec.yaml`. Clean the Xcode build folder with:
6464
Calling to `PackageInfo.fromPlatform()` before the `runApp()` call will cause an exception.
6565
See https://github.com/fluttercommunity/plus_plugins/issues/309
6666

67+
### Windows
68+
69+
#### I see wrong version on Windows platform
70+
71+
There was an [issue](https://github.com/flutter/flutter/issues/73652) in Flutter, which is already resolved since Flutter 3.3.
72+
If your project was created before Flutter 3.3 you need to migrate the project according to [this guide] (https://docs.flutter.dev/release/breaking-changes/windows-version-information) first to get correct version with `package_info_plus`
73+
6774
## Learn more
6875

6976
- [API Documentation](https://pub.dev/documentation/package_info_plus/latest/package_info_plus/package_info_plus-library.html)

0 commit comments

Comments
 (0)