From 02bcc98037c8404878758e2bc2f0f3030303d9e5 Mon Sep 17 00:00:00 2001 From: Krille Date: Wed, 24 May 2023 21:02:13 +0200 Subject: [PATCH] chore: Disable linux webrtc --- linux/flutter/generated_plugin_registrant.cc | 4 ---- linux/flutter/generated_plugins.cmake | 1 - pubspec.lock | 11 ++++++----- pubspec.yaml | 4 +++- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc index 421c21f3..094d536b 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 @@ -33,9 +32,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 a27082d9..f84e8896 100644 --- a/linux/flutter/generated_plugins.cmake +++ b/linux/flutter/generated_plugins.cmake @@ -8,7 +8,6 @@ list(APPEND FLUTTER_PLUGIN_LIST dynamic_color emoji_picker_flutter flutter_secure_storage_linux - flutter_webrtc handy_window record_linux url_launcher_linux diff --git a/pubspec.lock b/pubspec.lock index ec892686..378449ad 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -718,11 +718,12 @@ packages: flutter_webrtc: dependency: "direct main" description: - name: flutter_webrtc - sha256: "54d31a29e45ebae28860f2400a9d8353cbff95dffe631c58436661a3e6456324" - url: "https://pub.dev" - source: hosted - version: "0.9.30+hotfix.2" + path: "." + ref: HEAD + resolved-ref: "2c041f15b729157bc9ffcea9cd57cdcc7ba9e951" + url: "https://github.com/krille-chan/flutter-webrtc.git" + source: git + version: "0.9.31" fuchsia_remote_debug_protocol: dependency: transitive description: flutter diff --git a/pubspec.yaml b/pubspec.yaml index cf3cc936..ee03921c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -152,6 +152,8 @@ dependency_overrides: git: url: https://gitlab.com/TheOneWithTheBraid/flutter_secure_storage_windows.git ref: main + flutter_webrtc: + git: https://github.com/krille-chan/flutter-webrtc.git geolocator_android: hosted: name: geolocator_android @@ -168,4 +170,4 @@ dependency_overrides: git: url: https://github.com/timsneath/wakelock.git ref: 2a9bca63a540771f241d688562351482b2cf234c - path: wakelock_windows + path: wakelock_windows \ No newline at end of file