从 (PhoneAuthProvider.getInstance().verifyPhoneNumber() 获取错误,他们在 get 实例和 verifyphonenumber 上做一个条带,如下所示

问题描述

因此,当我尝试使用

进行 otp 验证时
 private void sendVerificationCodetoUser(String phoneNo) {
        PhoneAuthProvider.getInstance().verifyPhoneNumber(
                phoneNo,// Phone number to verify
                60,// Timeout duration
                TimeUnit.SECONDS,// Unit of timeout
                TaskExecutors.MAIN_THREAD,// Activity (for callback binding)
                mCallbacks);        // OnVerificationStateChangedCallbacks
    }

他们像这样制作中间条

enter image description here

当我尝试使用新的更新代码来发送这样的 otp 代码时 他们从 sendotp 层之前的层踢回来

这是新的 otp 代码

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)