From 409c13a77a65aee1eeafbef4b7a8f21fb98c65e0 Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Thu, 26 Jan 2023 02:25:28 +0200 Subject: [PATCH] Remove wake lock native code and just use the ready made package --- ios/Runner/AppDelegate.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift index c4d460e08..cdc7071e8 100644 --- a/ios/Runner/AppDelegate.swift +++ b/ios/Runner/AppDelegate.swift @@ -96,11 +96,6 @@ import UnstoppableDomainsResolution result(address) } - case "enableWakeScreen": - result(enableWakeScreen()) - - case "disableWakeScreen": - result(disableWakeScreen()) default: result(FlutterMethodNotImplemented)