“Value of type 'AuthDataResult' has no member 'uid'” error

后端 未结 3 753
有刺的猬
有刺的猬 2020-12-16 19:15

Can someone help me about this issue? The first error was \"value of type \'authdataresult\' has no member \'uid\'\".

Auth.auth()?.signIn(withEmail: email, p         


        
3条回答
  •  醉梦人生
    2020-12-16 19:49

    It seems that Google has made some changes to Firebase Auth with the 5.0.0 update. This worked for me:

    self.userUid = user.user.uid
    

    I'm not sure what was the point of the change but it still works exactly the same.

提交回复
热议问题