【问题标题】:Flutter - Suddenly got this error ERROR_INVALID_USER_TOKENFlutter - 突然得到这个错误 ERROR_INVALID_USER_TOKEN
【发布时间】:2020-01-23 06:23:23
【问题描述】:

应用程序运行良好,但突然停止运行。

我的应用中有一个 Firebase 电话身份验证。我在 fireabse 中添加了一个测试号,但是一旦我输入测试号并测试 OTP 并点击提交按钮,我就得到了这个异常。

PlatformException(ERROR_INVALID_USER_TOKEN, This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key., null)

我无法理解问题所在以及如何解决此问题。

【问题讨论】:

  • 遇到同样的问题,你找到解决办法了吗?
  • 自动解决,可能是firebase服务器的一些内部故障

标签: exception flutter firebase-authentication


【解决方案1】:

确保您没有更改项目路径,我解决了将项目移动到原始路径的问题。

【讨论】:

  • 这不是解释原因的完整答案。这应该是评论。
  • 请详细解释一下,你说的文件夹名?路径是什么?
猜你喜欢
  • 1970-01-01
  • 2013-09-20
  • 1970-01-01
  • 1970-01-01
  • 2021-11-02
  • 2022-08-15
  • 1970-01-01
  • 2020-08-17
  • 1970-01-01
相关资源
最近更新 更多