Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/oracle/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Firebase 验证码没有获得现有的号码?_Firebase_Flutter_Dart_Firebase Authentication - Fatal编程技术网

Firebase 验证码没有获得现有的号码?

Firebase 验证码没有获得现有的号码?,firebase,flutter,dart,firebase-authentication,Firebase,Flutter,Dart,Firebase Authentication,我使用了firebase\u auth插件来实现手机认证功能。它起作用了。但现在,我从firebase sdk中删除了我的号码(用户)。然后单击发送OTP按钮。我没有收到OTP代码。我刷新浏览器,我的号码在身份验证上。这是怎么发生的 //显示此消息。(输出是AuthCredential的实例) 我试着换一个新号码。单击“发送OTP”按钮后,我获取代码并从sdk中删除新编号,然后再次单击发送OTP按钮,我获取新编号的代码。为什么会这样 问题在哪里?(我的源代码或flatter插件或sha密钥或fi

我使用了
firebase\u auth
插件来实现手机认证功能。它起作用了。但现在,我从firebase sdk中删除了我的号码(用户)。然后单击
发送OTP
按钮。我没有收到OTP代码。我刷新浏览器,我的号码在身份验证上。这是怎么发生的

//显示此消息。(输出是AuthCredential的实例)

我试着换一个新号码。单击“发送OTP”按钮后,我获取代码并从sdk中删除新编号,然后再次单击发送OTP按钮,我获取新编号的代码。为什么会这样

问题在哪里?(我的源代码或flatter插件或sha密钥或firebase sdk)

我可以在这里导航吗?(如身份验证成功)

   final PhoneVerificationCompleted verificationCompleted =
        (AuthCredential phoneAuthCredential) {
      _auth.signInWithCredential(phoneAuthCredential);
      setState(() {
        _message = '$phoneAuthCredential';//here
      });
    };
           final PhoneVerificationCompleted verificationCompleted =
                (AuthCredential phoneAuthCredential) {
              _auth.signInWithCredential(phoneAuthCredential);

 IN HERE   //Navigator.of(context).pushNamed('/dashboard');

              setState(() {
                _message = '$phoneAuthCredential';//here
              });
            };