Commit 22dacca1 authored by Jose Blaya's avatar Jose Blaya
Browse files

- Update how to install the profile

- Refresh Trusted network list
parent 0df39609
This diff is collapsed.
......@@ -45,6 +45,8 @@ class TrustedNetworksViewController: AutolayoutViewController {
self.switchWiFiProtection.addTarget(self, action: #selector(toggleUseWiFiProtection(_:)), for: .valueChanged)
self.switchCellularData.addTarget(self, action: #selector(toggleCellularData(_:)), for: .valueChanged)
NotificationCenter.default.addObserver(self, selector: #selector(filterAvailableNetworks), name: .UIApplicationDidBecomeActive, object: nil)
configureTableView()
}
......@@ -116,7 +118,8 @@ class TrustedNetworksViewController: AutolayoutViewController {
}
filterAvailableNetworks()
}
private func filterAvailableNetworks() {
@objc private func filterAvailableNetworks() {
self.availableNetworks = Client.preferences.availableNetworks
self.trustedNetworks = Client.preferences.trustedNetworks
self.availableNetworks = self.availableNetworks.filter { !self.trustedNetworks.contains($0) }
......
......@@ -47,7 +47,7 @@ class VPNPermissionViewController: AutolayoutViewController {
@IBAction private func submit() {
let vpn = Client.providers.vpnProvider
vpn.install(force: false, { (error) in
vpn.install(force: true, { (error) in
guard (error == nil) else {
self.alertRequiredPermission()
return
......
......@@ -52,8 +52,8 @@ end
def shared_main_pods
pod 'AlamofireImage'
#library_by_path('')
library_by_git('00efd81')
library_by_path('/Users/ueshiba/Desktop/PIA')
#library_by_git('00efd81')
#library_by_version('~> 1.1.3')
end
......
......@@ -114,10 +114,10 @@ DEPENDENCIES:
- FXPageControl
- HockeySDK
- iRate
- PIALibrary/Library (from `https://github.com/pia-foss/client-library-apple`, commit `00efd81`)
- PIALibrary/Mock (from `https://github.com/pia-foss/client-library-apple`, commit `00efd81`)
- PIALibrary/UI (from `https://github.com/pia-foss/client-library-apple`, commit `00efd81`)
- PIALibrary/VPN (from `https://github.com/pia-foss/client-library-apple`, commit `00efd81`)
- PIALibrary/Library (from `/Users/ueshiba/Desktop/PIA/client-library-apple`)
- PIALibrary/Mock (from `/Users/ueshiba/Desktop/PIA/client-library-apple`)
- PIALibrary/UI (from `/Users/ueshiba/Desktop/PIA/client-library-apple`)
- PIALibrary/VPN (from `/Users/ueshiba/Desktop/PIA/client-library-apple`)
- PIATunnel (from `https://github.com/pia-foss/tunnel-apple`, commit `bd53e0a`)
- PopupDialog
- SideMenu (= 3.1.5)
......@@ -154,16 +154,12 @@ SPEC REPOS:
EXTERNAL SOURCES:
PIALibrary:
:commit: 00efd81
:git: https://github.com/pia-foss/client-library-apple
:path: "/Users/ueshiba/Desktop/PIA/client-library-apple"
PIATunnel:
:commit: bd53e0a
:git: https://github.com/pia-foss/tunnel-apple
CHECKOUT OPTIONS:
PIALibrary:
:commit: 00efd81
:git: https://github.com/pia-foss/client-library-apple
PIATunnel:
:commit: bd53e0a
:git: https://github.com/pia-foss/tunnel-apple
......@@ -188,7 +184,7 @@ SPEC CHECKSUMS:
lottie-ios: 3fef45d3fabe63e3c7c2eb603dd64ddfffc73062
nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48
OpenSSL-Apple: cd153d705ef350eb834ae7ff5f21f792b51ed208
PIALibrary: 49067d695fe3597be7ce9561a635bbd47f0e6b48
PIALibrary: ca9c4b28af7bd5012e5f66da5c7dab3c01b35f24
PIATunnel: c0a1e40d198ebca00d192c5266c055f1ec5d4bab
PopupDialog: 03985b669c29802661c187513bf827340db1ae4d
QuickLayout: a730730b646b231fd4ef7cffaeb1e81fe0e1ca92
......@@ -198,6 +194,6 @@ SPEC CHECKSUMS:
SwiftyBeaver: ccfcdf85a04d429f1633f668650b0ce8020bda3a
TPKeyboardAvoiding: cb69d5ddbe90ce0170e4bc2db1e5e41d4a3ad9a4
PODFILE CHECKSUM: f4caaec1bf0397beaddfd095f6a90e821a0e3e81
PODFILE CHECKSUM: 358343444675ab4bef665969dc91f035756ed4c1
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