We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f1a21 commit 057affeCopy full SHA for 057affe
FirebaseAuth/Sources/Swift/Backend/AuthBackend.swift
@@ -107,7 +107,7 @@ class AuthBackend: AuthBackendProtocol {
107
private static func generateMFAError(response: AuthRPCResponse, auth: Auth) -> Error? {
108
#if !os(iOS)
109
return nil
110
- #endif // !os(iOS)
+ #else
111
if let mfaResponse = response as? AuthMFAResponse,
112
mfaResponse.idToken == nil,
113
let enrollments = mfaResponse.mfaInfo {
@@ -130,6 +130,7 @@ class AuthBackend: AuthBackendProtocol {
130
} else {
131
132
}
133
+ #endif // !os(iOS)
134
135
136
// Check whether or not the successful response is actually the special case phone
0 commit comments