java - 电话身份验证验证无法验证并引发此错误
问题描述
收到此错误,我无法判断 firbase 内部的此错误是什么,我无法判断问题是什么,到目前为止,我可以从 firebase 自己或遇到的任何人那里得知
@Override
public void onVerificationFailed(FirebaseException e) {
// This callback is invoked in an invalid request for verification is made,
// for instance if the the phone number format is not valid.
Log.w(TAG, "onVerificationFailed", e);
// [START_EXCLUDE silent]
mVerificationInProgress = false;
// [END_EXCLUDE]
if (e instanceof FirebaseAuthInvalidCredentialsException) {
// Invalid request
// [START_EXCLUDE]
mPhoneNumberField.setError("Namba Ya Simu Si Sahihi.");
// [END_EXCLUDE]
} else if (e instanceof FirebaseTooManyRequestsException) {
// The SMS quota for the project has been exceeded
// [START_EXCLUDE]
Snackbar.make(findViewById(android.R.id.content), "Quota exceeded.",
Snackbar.LENGTH_SHORT).show();
// [END_EXCLUDE]
}
// Show a message and update the UI
// [START_EXCLUDE]
updateUI(STATE_VERIFY_FAILED);
// [END_EXCLUDE]
}
W/VerifyPhoneCustomer:onVerificationFailed com.google.firebase.FirebaseException:发生内部错误。[ 7: ] 在 com.google.firebase.auth.api.internal 的 com.google.firebase.auth.api.internal.zzdv.zza(com.google.firebase:firebase-auth@@19.2.0:18) .zzex.zza(com.google.firebase:firebase-auth@@19.2.0:3) 在 com.google.firebase.auth.api.internal.zzfa.run(com.google.firebase:firebase-auth@@ 19.2.0:4) 在 android.os.Handler.handleCallback(Handler.java:873) 在 android.os.Handler.dispatchMessage(Handler.java:99) 在 android.os.Looper.loop(Looper.java:214 ) 在 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:
解决方案
推荐阅读
- git - 在“合并”和“推送”上执行的 Git 预推送挂钩?
- python - Errno 13 更新 conda 时权限被拒绝
- authentication - Testcafe - 在 Native Dialog 中输入用户名和密码
- javascript - AngularJS - 显示来自 FTP 服务器的文件和下载链接
- javascript - 如何设置可以通过我的应用程序全局访问的变量?
- java - 实现迭代器时索引不递增
- python - 将 django.db.backends 修改应用于整个项目
- c# - JSON RPC 参数 C#
- python - 如何自动化 PuLP 中的变量定义
- mysql - 在 MySQL 上创建存储过程