From 8c28373a5838a5376b7db471c9b298cd1d79ca04 Mon Sep 17 00:00:00 2001 From: Jason Rai Date: Mon, 21 Aug 2023 08:54:27 -0400 Subject: [PATCH] chore: flutter updates (#144) generated code changes, remove unneeded and removed command option --- .../example/linux/flutter/generated_plugin_registrant.cc | 4 ---- .../example/linux/flutter/generated_plugins.cmake | 1 - .../example/windows/flutter/generated_plugin_registrant.cc | 3 --- .../example/windows/flutter/generated_plugins.cmake | 1 - test_lint.sh | 3 +-- 5 files changed, 1 insertion(+), 11 deletions(-) diff --git a/flutter_keyboard_visibility/example/linux/flutter/generated_plugin_registrant.cc b/flutter_keyboard_visibility/example/linux/flutter/generated_plugin_registrant.cc index b669ea9..e71a16d 100644 --- a/flutter_keyboard_visibility/example/linux/flutter/generated_plugin_registrant.cc +++ b/flutter_keyboard_visibility/example/linux/flutter/generated_plugin_registrant.cc @@ -6,10 +6,6 @@ #include "generated_plugin_registrant.h" -#include void fl_register_plugins(FlPluginRegistry* registry) { - g_autoptr(FlPluginRegistrar) flutter_keyboard_visibility_linux_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterKeyboardVisibilityPlugin"); - flutter_keyboard_visibility_plugin_register_with_registrar(flutter_keyboard_visibility_linux_registrar); } diff --git a/flutter_keyboard_visibility/example/linux/flutter/generated_plugins.cmake b/flutter_keyboard_visibility/example/linux/flutter/generated_plugins.cmake index acd0756..2e1de87 100644 --- a/flutter_keyboard_visibility/example/linux/flutter/generated_plugins.cmake +++ b/flutter_keyboard_visibility/example/linux/flutter/generated_plugins.cmake @@ -3,7 +3,6 @@ # list(APPEND FLUTTER_PLUGIN_LIST - flutter_keyboard_visibility_linux ) list(APPEND FLUTTER_FFI_PLUGIN_LIST diff --git a/flutter_keyboard_visibility/example/windows/flutter/generated_plugin_registrant.cc b/flutter_keyboard_visibility/example/windows/flutter/generated_plugin_registrant.cc index cf70736..8b6d468 100644 --- a/flutter_keyboard_visibility/example/windows/flutter/generated_plugin_registrant.cc +++ b/flutter_keyboard_visibility/example/windows/flutter/generated_plugin_registrant.cc @@ -6,9 +6,6 @@ #include "generated_plugin_registrant.h" -#include void RegisterPlugins(flutter::PluginRegistry* registry) { - FlutterKeyboardVisibilityPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("FlutterKeyboardVisibilityPlugin")); } diff --git a/flutter_keyboard_visibility/example/windows/flutter/generated_plugins.cmake b/flutter_keyboard_visibility/example/windows/flutter/generated_plugins.cmake index a8c2fe0..b93c4c3 100644 --- a/flutter_keyboard_visibility/example/windows/flutter/generated_plugins.cmake +++ b/flutter_keyboard_visibility/example/windows/flutter/generated_plugins.cmake @@ -3,7 +3,6 @@ # list(APPEND FLUTTER_PLUGIN_LIST - flutter_keyboard_visibility_windows ) list(APPEND FLUTTER_FFI_PLUGIN_LIST diff --git a/test_lint.sh b/test_lint.sh index 9d0c7df..2bf0aa4 100755 --- a/test_lint.sh +++ b/test_lint.sh @@ -6,5 +6,4 @@ (cd flutter_keyboard_visibility_windows && flutter analyze) (cd flutter_keyboard_visibility && flutter analyze) (cd flutter_keyboard_visibility/example && flutter analyze) -(cd flutter_keyboard_visibility/example_old && flutter analyze) -(cd flutter_keyboard_visibility && flutter test --no-sound-null-safety --coverage) +(cd flutter_keyboard_visibility && flutter test --coverage)