mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 14:32:37 +01:00
fix: Build Linux
This commit is contained in:
parent
334d4c04df
commit
d867a560c3
@ -5,16 +5,12 @@
|
||||
#include "generated_plugin_registrant.h"
|
||||
|
||||
#include <file_chooser/file_chooser_plugin.h>
|
||||
#include <flutter_secure_storage/flutter_secure_storage_plugin.h>
|
||||
#include <url_launcher_linux/url_launcher_plugin.h>
|
||||
|
||||
void fl_register_plugins(FlPluginRegistry* registry) {
|
||||
g_autoptr(FlPluginRegistrar) file_chooser_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FileChooserPlugin");
|
||||
file_chooser_plugin_register_with_registrar(file_chooser_registrar);
|
||||
g_autoptr(FlPluginRegistrar) flutter_secure_storage_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStoragePlugin");
|
||||
flutter_secure_storage_plugin_register_with_registrar(flutter_secure_storage_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);
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
file_chooser
|
||||
flutter_secure_storage
|
||||
url_launcher_linux
|
||||
)
|
||||
|
||||
|
@ -406,7 +406,7 @@ packages:
|
||||
name: flutter_secure_storage
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.1.0"
|
||||
version: "3.3.5"
|
||||
flutter_slidable:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -38,7 +38,7 @@ dependencies:
|
||||
flutter_olm: ^1.1.1
|
||||
flutter_openssl_crypto: ^0.0.1
|
||||
flutter_screen_lock: ^4.0.3
|
||||
flutter_secure_storage: ^4.1.0
|
||||
flutter_secure_storage: ^3.3.5 # Do not upgrade or this will break Linux builds!
|
||||
flutter_slidable: ^0.6.0
|
||||
flutter_svg: ^0.21.0+1
|
||||
flutter_typeahead: ^3.1.1
|
||||
|
Loading…
Reference in New Issue
Block a user