Skip to content

Commit

Permalink
Use non-staging version of Firebase config for TestFlight build (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang authored Nov 20, 2024
1 parent aa3ff94 commit 01f1383
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class FirebaseNotificationHandler: NotificationHandler {
if token != oldValue {
updateAssociation()
if let token = token {
Console.shared.log("Firebase registration token: \(token)")
NSLog("Firebase registration token: \(token)")
}
switch Installation.source {
case .debug, .testFlight:
Expand Down
4 changes: 2 additions & 2 deletions Shared/CommonAppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ open class CommonAppDelegate: ParticlesAppDelegate {

open func useProductionFirebase() -> Bool {
switch Installation.source {
case .debug, .testFlight, .jailBroken: return false
case .appStore: return true
case .debug, .jailBroken: return false
case .appStore, .testFlight: return true
}
}

Expand Down

0 comments on commit 01f1383

Please sign in to comment.