We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 861cbac commit 7589594Copy full SHA for 7589594
1 file changed
Application/DevLogInfra/Sources/Service/FirebaseAppServiceImpl.swift
@@ -9,9 +9,12 @@ import DevLogData
9
import FirebaseCore
10
11
final class FirebaseAppServiceImpl: FirebaseAppService {
12
+ private static var isConfigured = false
13
+
14
func configure() {
- if FirebaseApp.app() == nil {
- FirebaseApp.configure()
15
- }
+ guard !Self.isConfigured else { return }
16
17
+ FirebaseApp.configure()
18
+ Self.isConfigured = true
19
}
20
0 commit comments