Skip to content

Commit

Permalink
Merge pull request #3 from sgr-ksmt/update_firebase_to_5
Browse files Browse the repository at this point in the history
Update firebase to 5
  • Loading branch information
sgr-ksmt authored May 9, 2018
2 parents c4439a5 + 445097a commit 670991c
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 55 deletions.
16 changes: 0 additions & 16 deletions Lobster.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
163143FB1FA8BE8600D25996 /* Frameworks */,
163143FC1FA8BE8600D25996 /* Headers */,
163143FD1FA8BE8600D25996 /* Resources */,
B118D601A6676BA70437901B /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -192,21 +191,6 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
B118D601A6676BA70437901B /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Lobster/Pods-Lobster-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down
4 changes: 2 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ inhibit_all_warnings!
use_frameworks!

target 'Lobster' do
pod 'Firebase/RemoteConfig'
end
pod 'Firebase/RemoteConfig', '~> 5.0.0'
end
84 changes: 49 additions & 35 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
PODS:
- Firebase/Core (4.13.0):
- FirebaseAnalytics (= 4.2.0)
- FirebaseCore (= 4.0.20)
- Firebase/RemoteConfig (4.13.0):
- Firebase/Core (5.0.0):
- Firebase/CoreOnly
- FirebaseAnalytics (= 5.0.0)
- Firebase/CoreOnly (5.0.0):
- FirebaseCore (= 5.0.0)
- Firebase/RemoteConfig (5.0.0):
- Firebase/Core
- FirebaseRemoteConfig (= 2.1.3)
- FirebaseABTesting (1.0.0):
- FirebaseCore (~> 4.0)
- Protobuf (~> 3.1)
- FirebaseAnalytics (4.2.0):
- FirebaseCore (~> 4.0)
- FirebaseInstanceID (~> 2.0)
- GoogleToolboxForMac/NSData+zlib (~> 2.1)
- FirebaseRemoteConfig (= 3.0.0)
- FirebaseABTesting (2.0.0):
- FirebaseCore (~> 5.0)
- Protobuf (~> 3.5)
- FirebaseAnalytics (5.0.0):
- FirebaseCore (~> 5.0)
- FirebaseInstanceID (~> 3.0)
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
- nanopb (~> 0.3)
- FirebaseCore (4.0.20):
- GoogleToolboxForMac/NSData+zlib (~> 2.1)
- FirebaseInstanceID (2.0.10):
- FirebaseCore (~> 4.0)
- FirebaseRemoteConfig (2.1.3):
- FirebaseABTesting (~> 1.0)
- FirebaseAnalytics (~> 4.1)
- FirebaseCore (~> 4.0)
- FirebaseInstanceID (~> 2.0)
- GoogleToolboxForMac/NSData+zlib (~> 2.1)
- FirebaseCore (5.0.0):
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
- FirebaseInstanceID (3.0.0):
- FirebaseCore (~> 5.0)
- FirebaseRemoteConfig (3.0.0):
- FirebaseABTesting (~> 2.0)
- FirebaseAnalytics (~> 5.0)
- FirebaseCore (~> 5.0)
- FirebaseInstanceID (~> 3.0)
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
- Protobuf (~> 3.5)
- GoogleToolboxForMac/Defines (2.1.3)
- GoogleToolboxForMac/NSData+zlib (2.1.3):
- GoogleToolboxForMac/Defines (= 2.1.3)
- GoogleToolboxForMac/Defines (2.1.4)
- "GoogleToolboxForMac/NSData+zlib (2.1.4)":
- GoogleToolboxForMac/Defines (= 2.1.4)
- nanopb (0.3.8):
- nanopb/decode (= 0.3.8)
- nanopb/encode (= 0.3.8)
Expand All @@ -35,19 +37,31 @@ PODS:
- Protobuf (3.5.0)

DEPENDENCIES:
- Firebase/RemoteConfig
- Firebase/RemoteConfig (~> 5.0.0)

SPEC REPOS:
https://github.com/CocoaPods/Specs.git:
- Firebase
- FirebaseABTesting
- FirebaseAnalytics
- FirebaseCore
- FirebaseInstanceID
- FirebaseRemoteConfig
- GoogleToolboxForMac
- nanopb
- Protobuf

SPEC CHECKSUMS:
Firebase: 5ec5e863d269d82d66b4bf56856726f8fb8f0fb3
FirebaseABTesting: d07d0ee833b842d5153549e4c7e2e2cb1c23a3f9
FirebaseAnalytics: 7ef69e76a5142f643aeb47c780e1cdce4e23632e
FirebaseCore: 90cb1c53d69b556f112a1bf72b5fcfaad7650790
FirebaseInstanceID: 8d20d890d65c917f9f7d9950b6e10a760ad34321
FirebaseRemoteConfig: 3e95fb7c072308492e85fa41d59d38b3d6fd2372
GoogleToolboxForMac: 2501e2ad72a52eb3dfe7bd9aee7dad11b858bd20
Firebase: 4bd804448ab2596794698773d41520a0af101e65
FirebaseABTesting: 1f50b8d50f5e3469eea54e7463a7b7fe221d1f5e
FirebaseAnalytics: 19812b49fa5f283dd6b23edf8a14b5d477029ab8
FirebaseCore: e46e4babb9de298fb2f736958edcc6da1dc60d73
FirebaseInstanceID: 83e0040351565df711a5db3d8ebe5ea21aca998a
FirebaseRemoteConfig: 3c57e4644bd6976b671ae0b725cd709f198bd1f5
GoogleToolboxForMac: 91c824d21e85b31c2aae9bb011c5027c9b4e738f
nanopb: 5601e6bca2dbf1ed831b519092ec110f66982ca3
Protobuf: 8a9838fba8dae3389230e1b7f8c104aa32389c03

PODFILE CHECKSUM: a0ac64af65ccc2a1ef76137a9390274ee3d1190c
PODFILE CHECKSUM: 3e07d748825a2698d174c6e93e5aabe6b9da49db

COCOAPODS: 1.4.0
COCOAPODS: 1.5.0
3 changes: 1 addition & 2 deletions Sources/Lobster.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ public class Lobster {
/// NOTE: It must be false on production.
public var debugMode: Bool = false {
didSet {
guard let settings = RemoteConfigSettings(developerModeEnabled: debugMode) else { return }
RemoteConfig.remoteConfig().configSettings = settings
RemoteConfig.remoteConfig().configSettings = RemoteConfigSettings(developerModeEnabled: debugMode)
}
}
public private(set) var fetchStatus: RemoteConfigFetchStatus = .noFetchYet
Expand Down

0 comments on commit 670991c

Please sign in to comment.