Commit 0b0ba6a6 authored by Jose Blaya's avatar Jose Blaya
Browse files

New parameter to force the installation of the VPN profile

parent bb37984e
......@@ -48,15 +48,15 @@ class VPNPermissionViewController: AutolayoutViewController {
@IBAction private func submit() {
let vpn = Client.providers.vpnProvider
vpn.install { (error) in
vpn.install(force: false, { (error) in
guard (error == nil) else {
self.alertRequiredPermission()
return
}
self.dismissingViewController?.dismiss(animated: true) {
// vpn.connect(nil)
// vpn.connect(nil)
}
}
})
}
private func alertRequiredPermission() {
......
......@@ -53,7 +53,7 @@ end
def shared_main_pods
pod 'AlamofireImage'
#library_by_path('')
library_by_git('b8ff4e2')
library_by_git('0378cf9')
#library_by_version('~> 1.1.3')
end
......
......@@ -104,10 +104,10 @@ DEPENDENCIES:
- HockeySDK
- iRate
- MBProgressHUD
- PIALibrary/Library (from `https://github.com/pia-foss/client-library-apple`, commit `49f14db`)
- PIALibrary/Mock (from `https://github.com/pia-foss/client-library-apple`, commit `49f14db`)
- PIALibrary/UI (from `https://github.com/pia-foss/client-library-apple`, commit `49f14db`)
- PIALibrary/VPN (from `https://github.com/pia-foss/client-library-apple`, commit `49f14db`)
- PIALibrary/Library (from `https://github.com/pia-foss/client-library-apple`, commit `0378cf9`)
- PIALibrary/Mock (from `https://github.com/pia-foss/client-library-apple`, commit `0378cf9`)
- PIALibrary/UI (from `https://github.com/pia-foss/client-library-apple`, commit `0378cf9`)
- PIALibrary/VPN (from `https://github.com/pia-foss/client-library-apple`, commit `0378cf9`)
- PIATunnel (from `https://github.com/pia-foss/tunnel-apple`, commit `269d6d1`)
- SideMenu (= 3.1.5)
- TPKeyboardAvoiding
......@@ -138,7 +138,7 @@ SPEC REPOS:
EXTERNAL SOURCES:
PIALibrary:
:commit: 49f14db
:commit: 0378cf9
:git: https://github.com/pia-foss/client-library-apple
PIATunnel:
:commit: 269d6d1
......@@ -146,7 +146,7 @@ EXTERNAL SOURCES:
CHECKOUT OPTIONS:
PIALibrary:
:commit: 49f14db
:commit: 0378cf9
:git: https://github.com/pia-foss/client-library-apple
PIATunnel:
:commit: 269d6d1
......@@ -177,6 +177,6 @@ SPEC CHECKSUMS:
SwiftyBeaver: ccfcdf85a04d429f1633f668650b0ce8020bda3a
TPKeyboardAvoiding: cb69d5ddbe90ce0170e4bc2db1e5e41d4a3ad9a4
PODFILE CHECKSUM: 353180780e39e1ffde39aa1b9a8343c72538bcc6
PODFILE CHECKSUM: 75d5ffd1eb6f04284f63a2b00566e9ac787eea74
COCOAPODS: 1.5.3
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment