Merge pull request #1822 from sixten/new-developer-experience

New iOS developer experience
This commit is contained in:
Satindar Dhillon 2023-02-17 12:46:15 -08:00 committed by GitHub
commit c73817ba2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@
{
"identity" : "analytics-swift",
"kind" : "remoteSourceControl",
"location" : "git@github.com:segmentio/analytics-swift.git",
"location" : "https://github.com/segmentio/analytics-swift.git",
"state" : {
"revision" : "92cc824211160ab98c28c7d40c1e6d27645c2bf1",
"version" : "1.2.3"

View file

@ -65,7 +65,7 @@ var dependencies: [Package.Dependency] {
.package(url: "https://github.com/Square/Valet", from: "4.1.2"),
.package(url: "https://github.com/maticzav/swift-graphql", from: "2.3.1"),
.package(url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "0.1.4"),
.package(url: "git@github.com:segmentio/analytics-swift.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/segmentio/analytics-swift.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/google/GoogleSignIn-iOS", from: "6.2.2")
]
// Comment out following line for macOS build

View file

@ -15,7 +15,7 @@ extension AppDelegate {
return firebaseKeys ?? AppKeys.sharedInstance?.firebaseProdKeys
}()
guard let keys = keys else { return }
guard let keys = keys, !keys.googleAppID.isEmpty else { return }
let firebaseOpts = FirebaseOptions(googleAppID: keys.googleAppID, gcmSenderID: keys.gcmSenderID)