Skip to content

Commit

Permalink
(chore): Remove ci_env code from AppDelegate
Browse files Browse the repository at this point in the history
  • Loading branch information
N3v1 committed Oct 31, 2024
1 parent 1c0e0ad commit 64406ce
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions ScribbleLab/App/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,36 +43,7 @@ class AppDelegate: NSObject, UIApplicationDelegate {
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil
) -> Bool {

// // MARK: - GoogleService-Info.plist Selection
// let gPlistFilePath: String
//
// #if CI_ENV
// guard let mockPlistPath = Bundle.main.path(
// forResource: "GoogleService-Info-Mock",
// ofType: "plist"
// ) else {
// fatalError("CI Mock GoogleService-Info plist not found")
// }
//
// gPlistFilePath = mockPlistPath
// #else
// guard let localPlistPath = Bundle.main.path(
// forResource: "GoogleService-Info",
// ofType: "plist"
// ) else {
// fatalError("Local GoogleService-Info plist not found")
// }
//
// gPlistFilePath = localPlistPath
// #endif
//
// // swiftlint:disable:next identifier_name
// guard let opts_file = FirebaseOptions(contentsOfFile: gPlistFilePath) else {
// fatalError("Couldn't load options from file: \(gPlistFilePath)")
// }

// MARK: - Firebase Configuration
// FirebaseApp.configure(options: opts_file)
FirebaseApp.configure()

// MARK: - User Notification Configuration
Expand Down

0 comments on commit 64406ce

Please sign in to comment.