类型的价值' AuthDataResult'没有会员' isEmailVerification'

时间:2018-06-06 17:10:36

标签: ios swift firebase

当我在我的应用上配置启动会话时,我有一个小问题,这是:"类型的值' AuthDataResult'没有会员' isEmailVerification'"

SELECT
    c.`name`,
    COUNT(DISTINCT e.`city`) as `Num Cities`
FROM `companies` c
JOIN `employees` e
ON c.`id` = e.`idK`
WHERE COUNT(DISTINCT e.`city`) > 3
GROUP BY c.`name`
ORDER BY c.`name`

1 个答案:

答案 0 :(得分:2)

返回的类型为AuthDataResult,其中包含用户对象FIRUser

user?.user.isEmailVerified

您最好重命名回调以避免阅读混淆,请参阅文档

AuthDataResult

FIRUser