我在firebase中实现了匿名登录功能,但是当我点击链接到它的按钮时,在firebase控制台中看不到任何匿名出现用户
这是功能:
@IBAction func loginAnonymouslyPressed(_ sender: UIButton) {
Auth.auth().signInAnonymously { (authResult, error) in
if error != nil {
print(error!)
} else {
if authResult?.user != nil {
print(authResult!.user.uid)
}
}
}
}