Closed Tameem1 closed 6 years ago
Could you elaborate on the error? What's the issue you're running into and why does the code above fix it?
This issue is already addressed by the tutorial in Handling Future Namespace Conflicts. Please correct me if I'm wrong or missing something.
We have to use the following code:
extension LoginViewController: FUIAuthDelegate { func authUI(_ authUI: FUIAuth, didSignInWith user: FirebaseAuth.User?, error: Error?) { if let error = error { assertionFailure("Error signing in: \(error.localizedDescription)") return }
instead of :extension LoginViewController: FUIAuthDelegate { func authUI(_ authUI: FUIAuth, didSignInWith user: User?, error: Error?) { if let error = error { assertionFailure("Error signing in: \(error.localizedDescription)") return }