From e34bd1c2f4b1dfc0acbc13afbed2308389153d6e Mon Sep 17 00:00:00 2001 From: Fabian Quintanar Date: Fri, 1 Apr 2022 17:00:59 -0400 Subject: [PATCH 1/4] Fix MissingPluginException for windows and linux At commit 7e898675fbd18cb6ac90f36c1e6bd126aea1c64d the plugins for windows and linux had changes to auto register via `static void registerWith()`. But neither the plugins nor the main package versions were increased and published. This commit fixes that by increasing the versions of the plugins and the main package. --- packages/package_info_plus/package_info_plus/CHANGELOG.md | 5 +++++ packages/package_info_plus/package_info_plus/pubspec.yaml | 2 +- .../package_info_plus/package_info_plus_linux/CHANGELOG.md | 4 ++++ .../package_info_plus/package_info_plus_linux/pubspec.yaml | 4 ++-- .../package_info_plus/package_info_plus_windows/CHANGELOG.md | 4 ++++ .../package_info_plus/package_info_plus_windows/pubspec.yaml | 4 ++-- 6 files changed, 18 insertions(+), 5 deletions(-) diff --git a/packages/package_info_plus/package_info_plus/CHANGELOG.md b/packages/package_info_plus/package_info_plus/CHANGELOG.md index bdfbaba2e0..1dd5658470 100644 --- a/packages/package_info_plus/package_info_plus/CHANGELOG.md +++ b/packages/package_info_plus/package_info_plus/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.4.1 + +- Windows: Fix MissingPluginException +- Linux: Fix MissingPluginException + ## 1.4.0 - Android: Migrate to Kotlin diff --git a/packages/package_info_plus/package_info_plus/pubspec.yaml b/packages/package_info_plus/package_info_plus/pubspec.yaml index ec05afcfa0..6d071b2a3a 100644 --- a/packages/package_info_plus/package_info_plus/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus/pubspec.yaml @@ -1,6 +1,6 @@ name: package_info_plus description: Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android. -version: 1.4.0 +version: 1.4.1 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ diff --git a/packages/package_info_plus/package_info_plus_linux/CHANGELOG.md b/packages/package_info_plus/package_info_plus_linux/CHANGELOG.md index 418f3fe08c..70fd3f6c9e 100644 --- a/packages/package_info_plus/package_info_plus_linux/CHANGELOG.md +++ b/packages/package_info_plus/package_info_plus_linux/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.4 + +- Fix MissingPluginException + ## 1.0.3 - Add `buildSignature` to Android package info to retrieve the signing certifiate SHA1 at runtime. diff --git a/packages/package_info_plus/package_info_plus_linux/pubspec.yaml b/packages/package_info_plus/package_info_plus_linux/pubspec.yaml index d5e4bb13ec..7223bc5e2c 100644 --- a/packages/package_info_plus/package_info_plus_linux/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus_linux/pubspec.yaml @@ -1,6 +1,6 @@ name: package_info_plus_linux description: Linux implementation of the package_info_plus plugin -version: 1.0.3 +version: 1.0.4 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ @@ -25,4 +25,4 @@ flutter: platforms: linux: dartPluginClass: PackageInfoLinux - pluginClass: none \ No newline at end of file + pluginClass: none diff --git a/packages/package_info_plus/package_info_plus_windows/CHANGELOG.md b/packages/package_info_plus/package_info_plus_windows/CHANGELOG.md index 517b1b3f9a..1fb119c5db 100644 --- a/packages/package_info_plus/package_info_plus_windows/CHANGELOG.md +++ b/packages/package_info_plus/package_info_plus_windows/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.5 + +- Fix MissingPluginException + ## 1.0.4 - Annotate int with external in preparation of Flutter 2.5 diff --git a/packages/package_info_plus/package_info_plus_windows/pubspec.yaml b/packages/package_info_plus/package_info_plus_windows/pubspec.yaml index 6a91cf86ef..a41dd7ce56 100644 --- a/packages/package_info_plus/package_info_plus_windows/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus_windows/pubspec.yaml @@ -1,6 +1,6 @@ name: package_info_plus_windows description: Windows implementation of the package_info_plus plugin -version: 1.0.4 +version: 1.0.5 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ @@ -26,4 +26,4 @@ flutter: platforms: windows: dartPluginClass: PackageInfoWindows - pluginClass: none \ No newline at end of file + pluginClass: none From 7cec8f1ee02a7aa9f7f7476f70928aa14d5d798f Mon Sep 17 00:00:00 2001 From: Fabian Quintanar Date: Mon, 4 Apr 2022 14:00:09 -0400 Subject: [PATCH 2/4] Sync platform plugin dependency versions --- packages/package_info_plus/package_info_plus/pubspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/package_info_plus/package_info_plus/pubspec.yaml b/packages/package_info_plus/package_info_plus/pubspec.yaml index 6d071b2a3a..bcb616acf6 100644 --- a/packages/package_info_plus/package_info_plus/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus/pubspec.yaml @@ -25,9 +25,9 @@ dependencies: flutter: sdk: flutter package_info_plus_platform_interface: ^1.0.2 - package_info_plus_linux: ^1.0.3 + package_info_plus_linux: ^1.0.4 package_info_plus_macos: ^1.2.0 - package_info_plus_windows: ^1.0.4 + package_info_plus_windows: ^1.0.5 package_info_plus_web: ^1.0.4 dev_dependencies: From 84dc4fa18bf2e03e05859b61c7125014db3ee6da Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 5 Apr 2022 10:05:22 +0200 Subject: [PATCH 3/4] [package_info_plus_linux] update Flutter SDK constraints While trying to publish: ``` pubspec.yaml allows Flutter SDK version prior to 1.20.0, which does not support having no `ios/` folder. Please consider increasing the Flutter SDK requirement to ^1.20.0 or higher (environment.sdk.flutter) or create an `ios/` folder. ``` --- packages/package_info_plus/package_info_plus_linux/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/package_info_plus/package_info_plus_linux/pubspec.yaml b/packages/package_info_plus/package_info_plus_linux/pubspec.yaml index 7223bc5e2c..0c41b54d94 100644 --- a/packages/package_info_plus/package_info_plus_linux/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus_linux/pubspec.yaml @@ -6,7 +6,7 @@ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ environment: sdk: ">=2.12.0 <3.0.0" - flutter: ">=1.17.0" + flutter: ">=1.20.0" dependencies: package_info_plus_platform_interface: ^1.0.2 From 73a4b760f8389c7758647d895dcd793e7b9bce62 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 5 Apr 2022 10:09:52 +0200 Subject: [PATCH 4/4] [package_info_plus_windows] update Flutter SDK constraints While trying to publish: ``` pubspec.yaml allows Flutter SDK version prior to 1.20.0, which does not support having no `ios/` folder. Please consider increasing the Flutter SDK requirement to ^1.20.0 or higher (environment.sdk.flutter) or create an `ios/` folder. ``` --- .../package_info_plus/package_info_plus_windows/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/package_info_plus/package_info_plus_windows/pubspec.yaml b/packages/package_info_plus/package_info_plus_windows/pubspec.yaml index a41dd7ce56..05582bc114 100644 --- a/packages/package_info_plus/package_info_plus_windows/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus_windows/pubspec.yaml @@ -6,7 +6,7 @@ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ environment: sdk: ">=2.12.0 <3.0.0" - flutter: ">=1.17.0" + flutter: ">=1.20.0" dependencies: package_info_plus_platform_interface: ^1.0.2