不编号不使用firebase更新

我是Firebase的新手,我遵循Web Firebase身份验证的所有指南,我设法注销并更新所有数据(电话号码除外),为什么我的电话号码未更新但控制台响应成功 这是我的代码,请看一看

var confName = 'dharmendra shah'
var confPhone = 7597365803
    var userCreated = auth().currentUser;
              userCreated.updateProfile({
              displayName: confName,
              phoneNumber: confPhone.toString()
             }).then(function () {
           console.log('success');
              Actions.Users();
              }).catch(function (error) {
             console.log(error);[enter image description here][1]
                });

In console i got success message but it didn't update the phone number and name it does update why is it happen i'm following this two guidelines https://rnfirebase.io/ and https://firebase.google.com/docs/reference/js/firebase.auth.Auth

我在网上查找此错误,但未显示任何消息

我再次使用带有react-native(android)的createUserWithEmailAndPassword()功能,并且库是rnFirebase 如果有人可以帮助我,那将非常慷慨。

控制台日志

[Fri Apr 24 2020 20:22:58.367]  LOG      {"displayName": null, "email": "dharjejejwjwwjmonly1999@gmail.com", "emailVerified": false, "isAnonymous": false, "metadata": {"creationTime": 1587739956204, "lastSignInTime": 1587739956204}, "phoneNumber": null, "photoURL": null, "providerData": [[Object]], "providerId": "firebase", "uid": "jySTaK4tweYxYQNoXFp3f4qaXQr1"}
[Fri Apr 24 2020 20:22:58.673]  LOG      success
[Fri Apr 24 2020 20:23:04.394]  LOG      {"displayName": "dharmendra shah", "email": "dharjejejwjwwjmonly1999@gmail.com", "emailVerified": false, "isAnonymous": false, "metadata": {"creationTime": 1587739956204, "lastSignInTime": 1587739956204}, "phoneNumber": null, "photoURL": null, "providerData": [[Object]], "providerId": "firebase", "uid": "jySTaK4tweYxYQNoXFp3f4qaXQr1"}
评论