From b04a285210b04c6b14e924c20be0d11eb47f95c2 Mon Sep 17 00:00:00 2001 From: Sergey Abramchuk Date: Sun, 3 Nov 2019 15:02:14 +0300 Subject: [PATCH] Update readme file --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5299bbe..c1b50d3 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ To install OpenVPNAdapter with Cocoapods, add the following lines to your `Podfi ```ruby target 'Your Target Name' do use_frameworks! - pod 'OpenVPNAdapter', :git => 'https://github.com/ss-abramchuk/OpenVPNAdapter.git', :tag => '0.3.0' + pod 'OpenVPNAdapter', :git => 'https://github.com/ss-abramchuk/OpenVPNAdapter.git', :tag => '0.4.0' end ``` @@ -177,6 +177,9 @@ class PacketTunnelProvider: NEPacketTunnelProvider { // Additional parameters as key:value pairs may be provided here ] + // Add this line if you want to keep TUN interface active during pauses or reconnections + configuration.tunPersist = true + // Apply OpenVPN configuration let properties: OpenVPNProperties do {