chore: bump webrtc and foreground task deps

This commit is contained in:
td 2022-10-16 23:36:34 +05:30
parent ef0d54d11f
commit 375a77bd5b
No known key found for this signature in database
GPG Key ID: F6D9E9BF14C7D103
4 changed files with 16 additions and 23 deletions

View File

@ -291,12 +291,14 @@ class MyCallingPage extends State<Calling> {
void _screenSharing() async { void _screenSharing() async {
if (PlatformInfos.isAndroid) { if (PlatformInfos.isAndroid) {
if (!call.screensharingEnabled) { if (!call.screensharingEnabled) {
await FlutterForegroundTask.init( FlutterForegroundTask.init(
androidNotificationOptions: AndroidNotificationOptions( androidNotificationOptions: AndroidNotificationOptions(
channelId: 'notification_channel_id', channelId: 'notification_channel_id',
channelName: 'Foreground Notification', channelName: 'Foreground Notification',
channelDescription: L10n.of(context)!.foregroundServiceRunning, channelDescription: L10n.of(context)!.foregroundServiceRunning,
), ),
iosNotificationOptions: const IOSNotificationOptions(),
foregroundTaskOptions: const ForegroundTaskOptions(),
); );
FlutterForegroundTask.startService( FlutterForegroundTask.startService(
notificationTitle: L10n.of(context)!.screenSharingTitle, notificationTitle: L10n.of(context)!.screenSharingTitle,

View File

@ -246,8 +246,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),

View File

@ -303,7 +303,7 @@ packages:
name: dart_webrtc name: dart_webrtc
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.7" version: "1.0.9"
dbus: dbus:
dependency: transitive dependency: transitive
description: description:
@ -548,12 +548,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:
@ -759,7 +757,7 @@ packages:
name: flutter_webrtc name: flutter_webrtc
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.9.5" version: "0.9.11"
fuchsia_remote_debug_protocol: fuchsia_remote_debug_protocol:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -1555,7 +1553,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:
@ -2008,7 +2006,7 @@ packages:
name: webrtc_interface name: webrtc_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.7" version: "1.0.8"
win32: win32:
dependency: transitive dependency: transitive
description: description:

View File

@ -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
@ -50,7 +50,7 @@ dependencies:
flutter_svg: ^0.22.0 flutter_svg: ^0.22.0
flutter_typeahead: ^4.0.0 flutter_typeahead: ^4.0.0
flutter_web_auth: ^0.4.0 flutter_web_auth: ^0.4.0
flutter_webrtc: ^0.9.5 flutter_webrtc: ^0.9.11
future_loading_dialog: ^0.2.3 future_loading_dialog: ^0.2.3
geolocator: ^7.6.2 geolocator: ^7.6.2
handy_window: ^0.1.6 handy_window: ^0.1.6
@ -95,7 +95,7 @@ dependencies:
video_player: ^2.2.18 video_player: ^2.2.18
vrouter: ^1.2.0+21 vrouter: ^1.2.0+21
wakelock: ^0.6.1+1 wakelock: ^0.6.1+1
webrtc_interface: ^1.0.7 webrtc_interface: ^1.0.8
dev_dependencies: dev_dependencies:
dart_code_metrics: ^4.10.1 dart_code_metrics: ^4.10.1
@ -158,13 +158,6 @@ dependency_overrides:
path: packages/connectivity_plus/connectivity_plus_web 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: