chore: Remove workaround of record package

This commit is contained in:
Krille Fear 2022-12-27 13:15:46 +01:00
parent c19946c184
commit fbb9f40f01
4 changed files with 18 additions and 11 deletions

View File

@ -12,6 +12,7 @@
#include <file_selector_linux/file_selector_plugin.h>
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
#include <handy_window/handy_window_plugin.h>
#include <record_linux/record_linux_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) {
@ -33,6 +34,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);

View File

@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
file_selector_linux
flutter_secure_storage_linux
handy_window
record_linux
url_launcher_linux
)

View File

@ -1335,12 +1335,17 @@ packages:
record:
dependency: "direct main"
description:
path: record
ref: HEAD
resolved-ref: "95e3e8a08e54698a41ab49d50d1d3cb42cecb4e7"
url: "https://github.com/krillefear/record.git"
source: git
version: "4.4.3"
name: record
url: "https://pub.dartlang.org"
source: hosted
version: "4.4.4"
record_linux:
dependency: transitive
description:
name: record_linux
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.1"
record_macos:
dependency: transitive
description:
@ -1368,7 +1373,7 @@ packages:
name: record_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.2"
version: "0.7.1"
remove_emoji:
dependency: transitive
description:

View File

@ -72,10 +72,7 @@ dependencies:
qr_code_scanner: ^1.0.0
qr_flutter: ^4.0.0
receive_sharing_intent: ^1.4.5
record: # Because of https://github.com/llfbandit/record/issues/95
git:
url: https://github.com/krillefear/record.git
path: record
record: ^4.4.4
scroll_to_index: ^3.0.1
share_plus: ^4.0.10+1
shared_preferences: ^2.0.13