mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 14:59:29 +01:00
fix: Secure storage
This commit is contained in:
parent
9faaedb727
commit
0a52496bdb
@ -15,7 +15,8 @@
|
||||
android:label="FluffyChat"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:requestLegacyExternalStorage="true"
|
||||
android:allowBackup="false">
|
||||
android:allowBackup="false"
|
||||
android:fullBackupContent="false">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:launchMode="singleTask"
|
||||
|
@ -5,12 +5,16 @@
|
||||
#include "generated_plugin_registrant.h"
|
||||
|
||||
#include <file_selector_linux/file_selector_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_selector_linux_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
|
||||
file_selector_plugin_register_with_registrar(file_selector_linux_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,6 +4,7 @@
|
||||
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
file_selector_linux
|
||||
flutter_secure_storage
|
||||
url_launcher_linux
|
||||
)
|
||||
|
||||
|
@ -453,7 +453,7 @@ packages:
|
||||
name: flutter_secure_storage
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.3.5"
|
||||
version: "4.2.0"
|
||||
flutter_slidable:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -34,7 +34,7 @@ dependencies:
|
||||
flutter_matrix_html: ^0.3.0
|
||||
flutter_olm: ^1.1.2
|
||||
flutter_openssl_crypto: ^0.0.1
|
||||
flutter_secure_storage: 3.3.5 # Do not upgrade or this will break Linux builds!
|
||||
flutter_secure_storage: ^4.2.0
|
||||
flutter_slidable: ^0.6.0
|
||||
flutter_svg: ^0.22.0
|
||||
flutter_typeahead: ^3.2.0
|
||||
|
@ -34,6 +34,12 @@ parts:
|
||||
fluffychat:
|
||||
plugin: dump
|
||||
source: ./build/linux/x64/release/bundle/
|
||||
build-packages:
|
||||
- libsecret-1-dev
|
||||
- libjsoncpp-dev
|
||||
stage-packages:
|
||||
- libsecret-1-dev
|
||||
- libjsoncpp1-dev
|
||||
|
||||
slots:
|
||||
dbus-svc:
|
||||
|
Loading…
Reference in New Issue
Block a user