From d434467090fc7e5a6bb39cbccb25e39693ce156c Mon Sep 17 00:00:00 2001 From: hiddify Date: Sun, 3 Dec 2023 13:00:04 +0330 Subject: [PATCH] update platform interface --- .../SingBox/ExtensionPlatformInterface.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ios/SingBoxPacketTunnel/SingBox/ExtensionPlatformInterface.swift b/ios/SingBoxPacketTunnel/SingBox/ExtensionPlatformInterface.swift index a21dd033..30af6579 100644 --- a/ios/SingBoxPacketTunnel/SingBox/ExtensionPlatformInterface.swift +++ b/ios/SingBoxPacketTunnel/SingBox/ExtensionPlatformInterface.swift @@ -10,6 +10,10 @@ import Libcore import NetworkExtension public class ExtensionPlatformInterface: NSObject, LibboxPlatformInterfaceProtocol, LibboxCommandServerHandlerProtocol { + public func readWIFIState() -> LibboxWIFIState? { + return nil; + } + private let tunnel: ExtensionProvider private var networkSettings: NEPacketTunnelNetworkSettings?