fix: Disable linux webrtc until it is fixed

This commit is contained in:
Krille Fear 2022-12-23 12:42:56 +01:00
parent 5efff9a1e9
commit 2a708ca84f
4 changed files with 7 additions and 9 deletions

View File

@ -11,7 +11,6 @@
#include <emoji_picker_flutter/emoji_picker_flutter_plugin.h> #include <emoji_picker_flutter/emoji_picker_flutter_plugin.h>
#include <file_selector_linux/file_selector_plugin.h> #include <file_selector_linux/file_selector_plugin.h>
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h> #include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
#include <flutter_webrtc/flutter_web_r_t_c_plugin.h>
#include <handy_window/handy_window_plugin.h> #include <handy_window/handy_window_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h> #include <url_launcher_linux/url_launcher_plugin.h>
@ -31,9 +30,6 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar = g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin"); fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin");
flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar); 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 = g_autoptr(FlPluginRegistrar) handy_window_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "HandyWindowPlugin"); fl_plugin_registry_get_registrar_for_plugin(registry, "HandyWindowPlugin");
handy_window_plugin_register_with_registrar(handy_window_registrar); handy_window_plugin_register_with_registrar(handy_window_registrar);

View File

@ -8,7 +8,6 @@ list(APPEND FLUTTER_PLUGIN_LIST
emoji_picker_flutter emoji_picker_flutter
file_selector_linux file_selector_linux
flutter_secure_storage_linux flutter_secure_storage_linux
flutter_webrtc
handy_window handy_window
url_launcher_linux url_launcher_linux
) )

View File

@ -682,9 +682,11 @@ packages:
flutter_webrtc: flutter_webrtc:
dependency: "direct main" dependency: "direct main"
description: description:
name: flutter_webrtc path: "."
url: "https://pub.dartlang.org" ref: HEAD
source: hosted resolved-ref: "3d0bb887ebffe24e8db361e45c777ed44d8df180"
url: "https://github.com/radzio-it/flutter-webrtc.git"
source: git
version: "0.9.18" version: "0.9.18"
fuchsia_remote_debug_protocol: fuchsia_remote_debug_protocol:
dependency: transitive dependency: transitive

View File

@ -47,7 +47,8 @@ dependencies:
flutter_secure_storage: ^6.0.0 flutter_secure_storage: ^6.0.0
flutter_typeahead: ^4.0.0 flutter_typeahead: ^4.0.0
flutter_web_auth: ^0.5.0 flutter_web_auth: ^0.5.0
flutter_webrtc: ^0.9.18 flutter_webrtc: # Until https://github.com/flutter-webrtc/flutter-webrtc/issues/1212 is fixed
git: https://github.com/radzio-it/flutter-webrtc.git
future_loading_dialog: ^0.2.3 future_loading_dialog: ^0.2.3
geolocator: ^7.6.2 geolocator: ^7.6.2
handy_window: ^0.1.6 handy_window: ^0.1.6