Commit 851b4755 authored by Jose Blaya's avatar Jose Blaya
Browse files

Resolve "Integrate Crashlytics only for development"

parent 46a021d6
......@@ -14,6 +14,7 @@ before_script:
#- bundle exec fastlane run ensure_git_status_clean
- echo "$PIA_STAGING_ENDPOINT" >"Resources/staging.endpoint"
- echo "$PIA_CUSTOM_SERVERS" >"Resources/custom.servers"
- echo "$PIA_FIREBASE_PLIST" >"Resources/GoogleService-Info.plist"
stages:
- test
......
This diff is collapsed.
......@@ -13,6 +13,7 @@ import SwiftyBeaver
import iRate
#if PIA_DEV
import HockeySDK
import Firebase
#endif
class Bootstrapper {
......@@ -127,6 +128,13 @@ class Bootstrapper {
hockey.isMetricsManagerDisabled = true
hockey.configure(withIdentifier: AppConstants.hockeyAppId)
hockey.start()
if let path = Bundle.main.url(forResource: "GoogleService-Info", withExtension: "plist"),
let plist = NSDictionary(contentsOf: path) as? [String: Any],
plist.count > 0 {
FirebaseApp.configure()
}
#endif
// Notifications
......
......@@ -41,10 +41,10 @@
<string></string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSFaceIDUsageDescription</key>
<string>Authenticate to reveal</string>
<key>NSCameraUsageDescription</key>
<string>We need camera access to scan a code from an gift card</string>
<key>NSFaceIDUsageDescription</key>
<string>Authenticate to reveal</string>
<key>UIAppFonts</key>
<array>
<string>Roboto-Light.ttf</string>
......
......@@ -81,6 +81,7 @@ end
target 'PIA VPN dev' do
app_pods
pod 'HockeySDK'
pod 'Firebase/Core'
end
target 'PIA VPN Tunnel' do
......
......@@ -2,13 +2,62 @@ PODS:
- Alamofire (4.7.3)
- AlamofireImage (3.4.1):
- Alamofire (~> 4.7)
- Firebase/Core (5.11.0):
- Firebase/CoreOnly
- FirebaseAnalytics (= 5.3.0)
- Firebase/CoreOnly (5.11.0):
- FirebaseCore (= 5.1.6)
- FirebaseAnalytics (5.3.0):
- FirebaseCore (~> 5.1)
- FirebaseInstanceID (~> 3.3)
- GoogleAppMeasurement (~> 5.3)
- GoogleUtilities/AppDelegateSwizzler (~> 5.2)
- GoogleUtilities/MethodSwizzler (~> 5.2)
- GoogleUtilities/Network (~> 5.2)
- "GoogleUtilities/NSData+zlib (~> 5.2)"
- nanopb (~> 0.3)
- FirebaseCore (5.1.6):
- GoogleUtilities/Logger (~> 5.2)
- FirebaseInstanceID (3.3.0):
- FirebaseCore (~> 5.1)
- GoogleUtilities/Environment (~> 5.3)
- GoogleUtilities/UserDefaults (~> 5.3)
- FXPageControl (1.5)
- Gloss (2.0.1)
- GoogleAppMeasurement (5.3.0):
- GoogleUtilities/AppDelegateSwizzler (~> 5.2)
- GoogleUtilities/MethodSwizzler (~> 5.2)
- GoogleUtilities/Network (~> 5.2)
- "GoogleUtilities/NSData+zlib (~> 5.2)"
- nanopb (~> 0.3)
- GoogleUtilities/AppDelegateSwizzler (5.3.4):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (5.3.4)
- GoogleUtilities/Logger (5.3.4):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (5.3.4):
- GoogleUtilities/Logger
- GoogleUtilities/Network (5.3.4):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (5.3.4)"
- GoogleUtilities/Reachability (5.3.4):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (5.3.4):
- GoogleUtilities/Logger
- HockeySDK (5.1.4):
- HockeySDK/DefaultLib (= 5.1.4)
- HockeySDK/DefaultLib (5.1.4)
- iRate (1.12.2)
- MBProgressHUD (1.1.0)
- nanopb (0.3.901):
- nanopb/decode (= 0.3.901)
- nanopb/encode (= 0.3.901)
- nanopb/decode (0.3.901)
- nanopb/encode (0.3.901)
- OpenSSL-Apple (1.1.0h)
- PIALibrary/Core (1.1.6)
- PIALibrary/Library (1.1.6):
......@@ -45,6 +94,7 @@ PODS:
DEPENDENCIES:
- AlamofireImage
- Firebase/Core
- FXPageControl
- HockeySDK
- iRate
......@@ -61,11 +111,18 @@ SPEC REPOS:
https://github.com/cocoapods/specs.git:
- Alamofire
- AlamofireImage
- Firebase
- FirebaseAnalytics
- FirebaseCore
- FirebaseInstanceID
- FXPageControl
- Gloss
- GoogleAppMeasurement
- GoogleUtilities
- HockeySDK
- iRate
- MBProgressHUD
- nanopb
- OpenSSL-Apple
- ReachabilitySwift
- SideMenu
......@@ -91,11 +148,18 @@ CHECKOUT OPTIONS:
SPEC CHECKSUMS:
Alamofire: c7287b6e5d7da964a70935e5db17046b7fde6568
AlamofireImage: 78d67ccbb763d87ba44b21583d2153500a195630
Firebase: b48f9e653da971ecce5b8c749684bc8bb2d26bd3
FirebaseAnalytics: 63202d2665de4e6adcbdce189135255d8b5962ba
FirebaseCore: d16552f06821489ce1affe2e5e3e5593402ddfe3
FirebaseInstanceID: e2fa4cb35ef5558c200f7f0ad8a53e212215f93e
FXPageControl: 97620412515365d10a3282ec0660f49f6401a8f0
Gloss: 1e8743f8de1fbe14a97f220ff901cba91ae5f8f8
GoogleAppMeasurement: 5029d78f2b438bd30ffb44e6c558b57c21622727
GoogleUtilities: abb092d2c12e817fa3e0e7b274987dd72fb86ec3
HockeySDK: 15afe6bc0a5bfe3a531fd73dbf082095f37dac3b
iRate: 4fc69958788624545e5d050c8ffd20884013c3f1
MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9
nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48
OpenSSL-Apple: cd153d705ef350eb834ae7ff5f21f792b51ed208
PIALibrary: 083d81a871a765752ed5492d213f4d4bed3a755f
PIATunnel: 3cd5dfd24ebe20f093e07cd19acf5072bb44a72e
......@@ -104,6 +168,6 @@ SPEC CHECKSUMS:
SwiftyBeaver: ccfcdf85a04d429f1633f668650b0ce8020bda3a
TPKeyboardAvoiding: cb69d5ddbe90ce0170e4bc2db1e5e41d4a3ad9a4
PODFILE CHECKSUM: 150cf6123f005af40dbfc89c94a1cbb10e1cf274
PODFILE CHECKSUM: 60dfe5807eaac0a6579a7163a4d8f02c8367e4f0
COCOAPODS: 1.5.3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict/>
</plist>
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