From 0fb80e4eabd31e4441f4e5d43a16eecb1d83c3e2 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 31 Jul 2022 09:44:01 +0200 Subject: [PATCH] chore: Update record package --- linux/flutter/generated_plugin_registrant.cc | 4 ++++ linux/flutter/generated_plugins.cmake | 1 + pubspec.lock | 12 ++++++------ pubspec.yaml | 2 +- windows/flutter/generated_plugin_registrant.cc | 3 +++ windows/flutter/generated_plugins.cmake | 1 + 6 files changed, 16 insertions(+), 7 deletions(-) diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc index cd834b8b..e170f446 100644 --- a/linux/flutter/generated_plugin_registrant.cc +++ b/linux/flutter/generated_plugin_registrant.cc @@ -11,6 +11,7 @@ #include #include #include +#include #include void fl_register_plugins(FlPluginRegistry* registry) { @@ -29,6 +30,9 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) handy_window_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "HandyWindowPlugin"); handy_window_plugin_register_with_registrar(handy_window_registrar); + g_autoptr(FlPluginRegistrar) record_linux_registrar = + fl_plugin_registry_get_registrar_for_plugin(registry, "RecordLinuxPlugin"); + record_linux_plugin_register_with_registrar(record_linux_registrar); g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); diff --git a/linux/flutter/generated_plugins.cmake b/linux/flutter/generated_plugins.cmake index 64e4d34a..80ed0067 100644 --- a/linux/flutter/generated_plugins.cmake +++ b/linux/flutter/generated_plugins.cmake @@ -8,6 +8,7 @@ list(APPEND FLUTTER_PLUGIN_LIST file_selector_linux flutter_secure_storage_linux handy_window + record_linux url_launcher_linux ) diff --git a/pubspec.lock b/pubspec.lock index 35053e28..771a6d89 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1399,42 +1399,42 @@ packages: name: record url: "https://pub.dartlang.org" source: hosted - version: "4.1.1" + version: "4.3.2" record_linux: dependency: transitive description: name: record_linux url: "https://pub.dartlang.org" source: hosted - version: "0.1.0" + version: "0.3.2" record_macos: dependency: transitive description: name: record_macos url: "https://pub.dartlang.org" source: hosted - version: "0.1.0" + version: "0.2.1" record_platform_interface: dependency: transitive description: name: record_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "0.3.0" + version: "0.4.0" record_web: dependency: transitive description: name: record_web url: "https://pub.dartlang.org" source: hosted - version: "0.3.1" + version: "0.4.0" record_windows: dependency: transitive description: name: record_windows url: "https://pub.dartlang.org" source: hosted - version: "0.4.3" + version: "0.6.1" remove_emoji: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 881536c0..1ccfa512 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -73,7 +73,7 @@ dependencies: qr_code_scanner: ^1.0.0 qr_flutter: ^4.0.0 receive_sharing_intent: ^1.4.5 - record: ^4.1.1 + record: ^4.3.2 scroll_to_index: ^3.0.1 sentry: ^6.3.0 share_plus: ^4.0.9 diff --git a/windows/flutter/generated_plugin_registrant.cc b/windows/flutter/generated_plugin_registrant.cc index 56ab0b39..ca808ea9 100644 --- a/windows/flutter/generated_plugin_registrant.cc +++ b/windows/flutter/generated_plugin_registrant.cc @@ -11,6 +11,7 @@ #include #include #include +#include #include void RegisterPlugins(flutter::PluginRegistry* registry) { @@ -24,6 +25,8 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { registry->GetRegistrarForPlugin("FlutterSecureStorageWindowsPlugin")); FlutterWebRTCPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("FlutterWebRTCPlugin")); + RecordWindowsPluginCApiRegisterWithRegistrar( + registry->GetRegistrarForPlugin("RecordWindowsPluginCApi")); UrlLauncherWindowsRegisterWithRegistrar( registry->GetRegistrarForPlugin("UrlLauncherWindows")); } diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake index b337d49a..317c9a92 100644 --- a/windows/flutter/generated_plugins.cmake +++ b/windows/flutter/generated_plugins.cmake @@ -8,6 +8,7 @@ list(APPEND FLUTTER_PLUGIN_LIST desktop_lifecycle flutter_secure_storage_windows flutter_webrtc + record_windows url_launcher_windows )