From 0fc6f2e0f5e0e48ae3b1c8d1cc031a7c6e7123ae Mon Sep 17 00:00:00 2001 From: Amir Mohammadi Date: Sat, 20 Jan 2024 19:10:23 +0330 Subject: [PATCH] use universal bundleid from base.xconfig --- ios/Runner/VPN/VPNManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Runner/VPN/VPNManager.swift b/ios/Runner/VPN/VPNManager.swift index 1dfd8af0..1ade3291 100644 --- a/ios/Runner/VPN/VPNManager.swift +++ b/ios/Runner/VPN/VPNManager.swift @@ -101,7 +101,7 @@ class VPNManager: ObservableObject { } let newManager = NETunnelProviderManager() let `protocol` = NETunnelProviderProtocol() - `protocol`.providerBundleIdentifier = "app.hiddify.com.SingBoxPacketTunnel" + `protocol`.providerBundleIdentifier = Bundle.main.baseBundleIdentifier + ".SingBoxPacketTunnel" `protocol`.serverAddress = "localhost" newManager.protocolConfiguration = `protocol` newManager.localizedDescription = "Hiddify"