An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix: do not call WakeLock on Web (mobile) (#7668)
Tom-Brian Garciac9724523100e
diff --git a/flutter/lib/mobile/pages/remote_page.dart b/flutter/lib/mobile/pages/remote_page.dartindex f17efb828..8303c91b1 100644--- a/flutter/lib/mobile/pages/remote_page.dart+++ b/flutter/lib/mobile/pages/remote_page.dart@@ -68,7 +68,9 @@ class _RemotePageState extends State<RemotePage> {gFFI.dialogManager.showLoading(translate('Connecting...'), onCancel: closeConnection);});- WakelockPlus.enable();+ if (!isWeb) {+ WakelockPlus.enable();+ }_physicalFocusNode.requestFocus();gFFI.inputModel.listenToMouse(true);gFFI.qualityMonitorModel.checkShowQualityMonitor(sessionId);@@ -95,7 +97,9 @@ class _RemotePageState extends State<RemotePage> {gFFI.dialogManager.dismissAll();await SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,overlays: SystemUiOverlay.values);- await WakelockPlus.disable();+ if (!isWeb) {+ await WakelockPlus.disable();+ }await keyboardSubscription.cancel();removeSharedStates(widget.id);}