Ditch non-scalable VPN.shared

This commit is contained in:
Davide De Rosa 2021-09-20 18:50:56 +02:00
parent c442d44a0f
commit ff4a1e3945
2 changed files with 0 additions and 5 deletions

View File

@ -164,8 +164,6 @@ This subspec includes convenient classes to control the VPN tunnel from your app
- `MockVPNProvider` (default, useful to test on simulator)
- `OpenVPNProvider`
Set `VPN.shared` to either of them at app launch time.
### Protocols/OpenVPN
Here you will find the low-level entities on top of which an OpenVPN connection is established. Code is mixed Swift and Obj-C, most of it is not exposed to consumers. The module depends on OpenSSL.

View File

@ -36,7 +36,4 @@ public class VPN {
/// The VPN profile did (re)install.
public static let didReinstall = Notification.Name("VPNDidReinstall")
/// A singleton `VPNProvider` instance (default is a `MockVPNProvider`). Make sure to set this on app launch.
public static var shared: VPNProvider = MockVPNProvider()
}