From d836b675947af545c32529f3bd739bf80b562871 Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Fri, 18 Nov 2022 12:12:10 +0100 Subject: [PATCH] chore: Revert webrtc linux support --- linux/flutter/generated_plugin_registrant.cc | 4 ---- linux/flutter/generated_plugins.cmake | 1 - pubspec.lock | 2 +- pubspec.yaml | 2 +- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc index 6badfc51..14d91e18 100644 --- a/linux/flutter/generated_plugin_registrant.cc +++ b/linux/flutter/generated_plugin_registrant.cc @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -32,9 +31,6 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin"); flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar); - g_autoptr(FlPluginRegistrar) flutter_webrtc_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterWebRTCPlugin"); - flutter_web_r_t_c_plugin_register_with_registrar(flutter_webrtc_registrar); g_autoptr(FlPluginRegistrar) handy_window_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "HandyWindowPlugin"); handy_window_plugin_register_with_registrar(handy_window_registrar); diff --git a/linux/flutter/generated_plugins.cmake b/linux/flutter/generated_plugins.cmake index 6ec24fd0..820f9381 100644 --- a/linux/flutter/generated_plugins.cmake +++ b/linux/flutter/generated_plugins.cmake @@ -8,7 +8,6 @@ list(APPEND FLUTTER_PLUGIN_LIST emoji_picker_flutter file_selector_linux flutter_secure_storage_linux - flutter_webrtc handy_window record_linux url_launcher_linux diff --git a/pubspec.lock b/pubspec.lock index d02ba6bf..4bac6138 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -685,7 +685,7 @@ packages: name: flutter_webrtc url: "https://pub.dartlang.org" source: hosted - version: "0.9.16" + version: "0.9.14" fuchsia_remote_debug_protocol: dependency: transitive description: flutter diff --git a/pubspec.yaml b/pubspec.yaml index b2bee1d1..741b3457 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -47,7 +47,7 @@ dependencies: flutter_secure_storage: ^6.0.0 flutter_typeahead: ^4.0.0 flutter_web_auth: ^0.5.0 - flutter_webrtc: ^0.9.16 + flutter_webrtc: 0.9.14 # Pinned because >0.9.14 add Linux support which lets build fail future_loading_dialog: ^0.2.3 geolocator: ^7.6.2 handy_window: ^0.1.6