mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-19 10:39:26 +01:00
chore: remove dependency overrides
- Flutter foreground task plugin was merged - Connectivity Plus plugin was merged Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
parent
ad904de954
commit
a6e7b3d573
@ -87,6 +87,7 @@ class CallKeepManager {
|
|||||||
VoipPlugin? _voipPlugin;
|
VoipPlugin? _voipPlugin;
|
||||||
|
|
||||||
String get appName => 'FluffyChat';
|
String get appName => 'FluffyChat';
|
||||||
|
|
||||||
Future<bool> get hasPhoneAccountEnabled async =>
|
Future<bool> get hasPhoneAccountEnabled async =>
|
||||||
await _callKeep.hasPhoneAccount();
|
await _callKeep.hasPhoneAccount();
|
||||||
|
|
||||||
@ -106,6 +107,7 @@ class CallKeepManager {
|
|||||||
'additionalPermissions': [''],
|
'additionalPermissions': [''],
|
||||||
};
|
};
|
||||||
bool setupDone = false;
|
bool setupDone = false;
|
||||||
|
|
||||||
Future<void> showCallkitIncoming(CallSession call) async {
|
Future<void> showCallkitIncoming(CallSession call) async {
|
||||||
if (!setupDone) {
|
if (!setupDone) {
|
||||||
await _callKeep.setup(
|
await _callKeep.setup(
|
||||||
@ -246,8 +248,8 @@ class CallKeepManager {
|
|||||||
),
|
),
|
||||||
const Divider(),
|
const Divider(),
|
||||||
ListTile(
|
ListTile(
|
||||||
onTap: () =>
|
onTap: () => FlutterForegroundTask.openSystemAlertWindowSettings(
|
||||||
FlutterForegroundTask.openSystemAlertWindowSettings(true),
|
forceOpen: true),
|
||||||
title: Text(L10n.of(context)!.appearOnTop),
|
title: Text(L10n.of(context)!.appearOnTop),
|
||||||
subtitle: Text(L10n.of(context)!.appearOnTopDetails),
|
subtitle: Text(L10n.of(context)!.appearOnTopDetails),
|
||||||
trailing: const Icon(Icons.file_upload_rounded),
|
trailing: const Icon(Icons.file_upload_rounded),
|
||||||
|
30
pubspec.lock
30
pubspec.lock
@ -203,7 +203,7 @@ packages:
|
|||||||
name: connectivity_plus
|
name: connectivity_plus
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.2.1"
|
version: "2.3.9"
|
||||||
connectivity_plus_linux:
|
connectivity_plus_linux:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -217,7 +217,7 @@ packages:
|
|||||||
name: connectivity_plus_macos
|
name: connectivity_plus_macos
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.2.1"
|
version: "1.2.6"
|
||||||
connectivity_plus_platform_interface:
|
connectivity_plus_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -226,21 +226,19 @@ packages:
|
|||||||
source: hosted
|
source: hosted
|
||||||
version: "1.2.0"
|
version: "1.2.0"
|
||||||
connectivity_plus_web:
|
connectivity_plus_web:
|
||||||
dependency: "direct overridden"
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
path: "packages/connectivity_plus/connectivity_plus_web"
|
name: connectivity_plus_web
|
||||||
ref: a04401cb48abe92d138c0e9288b360739994a9e9
|
url: "https://pub.dartlang.org"
|
||||||
resolved-ref: a04401cb48abe92d138c0e9288b360739994a9e9
|
source: hosted
|
||||||
url: "https://github.com/TheOneWithTheBraid/plus_plugins.git"
|
version: "1.2.5"
|
||||||
source: git
|
|
||||||
version: "1.2.1"
|
|
||||||
connectivity_plus_windows:
|
connectivity_plus_windows:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: connectivity_plus_windows
|
name: connectivity_plus_windows
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.2.0"
|
version: "1.2.2"
|
||||||
convert:
|
convert:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -548,12 +546,10 @@ packages:
|
|||||||
flutter_foreground_task:
|
flutter_foreground_task:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
name: flutter_foreground_task
|
||||||
ref: "td/forceOpenOnTop"
|
url: "https://pub.dartlang.org"
|
||||||
resolved-ref: b5f429acbcddb8267d77dd2d76032357d78a725d
|
source: hosted
|
||||||
url: "https://github.com/Techno-Disaster/flutter_foreground_task.git"
|
version: "3.10.0"
|
||||||
source: git
|
|
||||||
version: "3.8.2"
|
|
||||||
flutter_highlight:
|
flutter_highlight:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -1555,7 +1551,7 @@ packages:
|
|||||||
name: shared_preferences_android
|
name: shared_preferences_android
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.12"
|
version: "2.0.14"
|
||||||
shared_preferences_ios:
|
shared_preferences_ios:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
18
pubspec.yaml
18
pubspec.yaml
@ -16,7 +16,7 @@ dependencies:
|
|||||||
callkeep: ^0.3.2
|
callkeep: ^0.3.2
|
||||||
chewie: ^1.2.2
|
chewie: ^1.2.2
|
||||||
collection: ^1.15.0-nullsafety.4
|
collection: ^1.15.0-nullsafety.4
|
||||||
connectivity_plus: ^2.2.0
|
connectivity_plus: ^2.3.9
|
||||||
cupertino_icons: any
|
cupertino_icons: any
|
||||||
desktop_drop: ^0.3.2
|
desktop_drop: ^0.3.2
|
||||||
desktop_lifecycle: ^0.1.0
|
desktop_lifecycle: ^0.1.0
|
||||||
@ -36,7 +36,7 @@ dependencies:
|
|||||||
flutter_app_lock: ^2.0.0
|
flutter_app_lock: ^2.0.0
|
||||||
flutter_blurhash: ^0.7.0
|
flutter_blurhash: ^0.7.0
|
||||||
flutter_cache_manager: ^3.3.0
|
flutter_cache_manager: ^3.3.0
|
||||||
flutter_foreground_task: ^3.8.2
|
flutter_foreground_task: ^3.10.0
|
||||||
flutter_local_notifications: ^9.7.0
|
flutter_local_notifications: ^9.7.0
|
||||||
flutter_localizations:
|
flutter_localizations:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
@ -148,23 +148,9 @@ msix_config:
|
|||||||
install_certificate: false
|
install_certificate: false
|
||||||
|
|
||||||
dependency_overrides:
|
dependency_overrides:
|
||||||
# Necessary for webRTC on web.
|
|
||||||
# Fix for stream fallback for unsupported browsers:
|
|
||||||
# Upstream pull request: https://github.com/fluttercommunity/plus_plugins/pull/746
|
|
||||||
connectivity_plus_web:
|
|
||||||
git:
|
|
||||||
url: https://github.com/TheOneWithTheBraid/plus_plugins.git
|
|
||||||
ref: a04401cb48abe92d138c0e9288b360739994a9e9
|
|
||||||
path: packages/connectivity_plus/connectivity_plus_web
|
|
||||||
# Until all dependencies are compatible. Missing: file_picker_cross, flutter_matrix_html
|
# Until all dependencies are compatible. Missing: file_picker_cross, flutter_matrix_html
|
||||||
ffi: ^2.0.0
|
ffi: ^2.0.0
|
||||||
|
|
||||||
# upstream request at https://github.com/Dev-hwang/flutter_foreground_task/pull/102
|
|
||||||
flutter_foreground_task:
|
|
||||||
git:
|
|
||||||
url: https://github.com/Techno-Disaster/flutter_foreground_task.git
|
|
||||||
ref: td/forceOpenOnTop
|
|
||||||
|
|
||||||
# fake secure storage plugin for Windows
|
# fake secure storage plugin for Windows
|
||||||
# See: https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/15161
|
# See: https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/15161
|
||||||
flutter_secure_storage_windows:
|
flutter_secure_storage_windows:
|
||||||
|
Loading…
Reference in New Issue
Block a user