diff --git a/Configuration/Info-Framework.plist b/Configuration/Info-Framework.plist
index 0d6341f..a6faa05 100644
--- a/Configuration/Info-Framework.plist
+++ b/Configuration/Info-Framework.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 0.3.0
+ 0.4.0
CFBundleVersion
$(CURRENT_PROJECT_VERSION)
NSPrincipalClass
diff --git a/OpenVPNAdapter.podspec b/OpenVPNAdapter.podspec
index 4214687..73cf7fd 100644
--- a/OpenVPNAdapter.podspec
+++ b/OpenVPNAdapter.podspec
@@ -3,7 +3,7 @@ Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.name = "OpenVPNAdapter"
- s.version = "0.3.0"
+ s.version = "0.4.0"
s.summary = "Objective-C wrapper for OpenVPN library. Compatible with iOS and macOS."
s.description = <<-DESC
OpenVPNAdapter is an Objective-C framework that allows to easily configure and establish VPN connection using OpenVPN protocol.
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 {