chore: Remove webrtc override

This commit is contained in:
Krille 2023-05-16 19:12:20 +02:00
parent 2c9188a5c6
commit 208bac0531
4 changed files with 11 additions and 10 deletions

View file

@ -11,6 +11,7 @@
#include <dynamic_color/dynamic_color_plugin.h> #include <dynamic_color/dynamic_color_plugin.h>
#include <emoji_picker_flutter/emoji_picker_flutter_plugin.h> #include <emoji_picker_flutter/emoji_picker_flutter_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 <record_linux/record_linux_plugin.h> #include <record_linux/record_linux_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h> #include <url_launcher_linux/url_launcher_plugin.h>
@ -32,6 +33,9 @@ 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,6 +8,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
dynamic_color dynamic_color
emoji_picker_flutter emoji_picker_flutter
flutter_secure_storage_linux flutter_secure_storage_linux
flutter_webrtc
handy_window handy_window
record_linux record_linux
url_launcher_linux url_launcher_linux

View file

@ -719,12 +719,11 @@ packages:
flutter_webrtc: flutter_webrtc:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." name: flutter_webrtc
ref: HEAD sha256: "95dd0b832a97ffa28887846bb1d24c7e026b97ec9d57669182abb790c0f53924"
resolved-ref: "03caac4e09f1444a866d6ab93b1f42d11b0b5dcd" url: "https://pub.dev"
url: "https://github.com/radzio-it/flutter-webrtc.git" source: hosted
source: git version: "0.9.30"
version: "0.9.29+hotfix.1"
fuchsia_remote_debug_protocol: fuchsia_remote_debug_protocol:
dependency: transitive dependency: transitive
description: flutter description: flutter

View file

@ -44,7 +44,7 @@ dependencies:
flutter_secure_storage: ^7.0.1 flutter_secure_storage: ^7.0.1
flutter_typeahead: ^4.3.2 flutter_typeahead: ^4.3.2
flutter_web_auth_2: ^2.1.1 flutter_web_auth_2: ^2.1.1
flutter_webrtc: ^0.9.29+hotfix.1 flutter_webrtc: ^0.9.30
future_loading_dialog: ^0.2.3 future_loading_dialog: ^0.2.3
geolocator: ^7.6.2 geolocator: ^7.6.2
handy_window: ^0.1.9 handy_window: ^0.1.9
@ -155,9 +155,6 @@ dependency_overrides:
git: git:
url: https://gitlab.com/TheOneWithTheBraid/flutter_secure_storage_windows.git url: https://gitlab.com/TheOneWithTheBraid/flutter_secure_storage_windows.git
ref: main ref: main
# Because of https://github.com/flutter-webrtc/flutter-webrtc/issues/1212
flutter_webrtc:
git: https://github.com/radzio-it/flutter-webrtc.git
geolocator_android: geolocator_android:
hosted: hosted:
name: geolocator_android name: geolocator_android