https://www.googleapis.com/identitytoolkit/v3/relyingparty/sendVerificationCode的意外响应代码400?

Sau*_*hta 8 android firebase firebase-authentication

签名的应用程序工作正常,但只要我将应用程序上传到Play商店,firebase手机身份验证就会为https://www.googleapis.com/identitytoolkit/v3/relyingparty/sendVerificationCode抛出意外的响应代码400 ?错误.

小智 6

我发现解决方案更容易.您需要做的就是将Firebase帐户链接到Google Play控制台,您可以从firebase控制台执行此操作.项目设置 - >帐户关联 - > Google Play.希望对你有效.

通过执行此操作,它将添加/注册所有应用程序签名证书SHA1到firebase

  • 我在“项目设置”->“集成”(选项卡)->“Google Play”(卡)中找到了它,然后单击“链接”。谢谢@CarlosMurray - 你拯救了我的一天。 (3认同)