我收到错误消息“发生内部错误,请打印并检查错误详细信息以获取更多信息”

时间:2018-08-09 11:37:11

标签: ios swift firebase firebase-authentication

我正在使用firebase电子邮件和密码凭据登录-

if driverNameTextField.text == "" && passwordTextField.text == ""{
        AppUtils.showAlert(title: "Alert", message: "Please enter correct user name and password", viewController: self)
    }
    else{
        Auth.auth().signIn(withEmail:userName.text!, password: passwordTextField.text!) { (user, error) in

            if error == nil{

                let revealController = self.storyboard?.instantiateViewController(withIdentifier: "SWRevealViewController") as! SWRevealViewController
                self.present(revealController, animated: true, completion: nil)
            }
            else {
                AppUtils.showAlert(title: "Alert", message: (error?.localizedDescription)!, viewController: self)

            }
        }

这是图片

0 个答案:

没有答案