【发布时间】:2021-12-20 15:06:36
【问题描述】:
我有一个使用 firebase auth 构建的小型 react 应用程序。 当我尝试如下更新用户配置文件时:
auth.currentUser.updateProfile({
displayName: firstnameRef.current.value+" "+surnameRef.current.value,
phoneNumber: "+11234567890",
photoURL: "www.photo.com"
})
显示名称和照片网址保存,但电话号码不保存。 这有什么原因吗。尝试保存时我没有收到任何错误。
【问题讨论】:
标签: javascript reactjs firebase react-native firebase-authentication