【问题标题】:Apple rejected the app due to "Token mismatch" authentication error in a Flutter app with Firebase Phone Authentication由于具有 Firebase 电话身份验证的 Flutter 应用程序中出现“令牌不匹配”身份验证错误,Apple 拒绝了该应用程序
【发布时间】:2021-01-23 07:42:56
【问题描述】:

使用电话号码的 Firebase 身份验证已通过 Testflight 在 iOS 上进行配置和测试,但在 Apple 审核应用时似乎不起作用。

我们提供了一个列入白名单的电话号码,该号码适用于从 Testflight 下载的构建版本。 我在 GitHub 中发现了几个类似的问题,但都已修复...我使用的是最新版本的 Firebase 身份验证插件。

我也添加了一个 GitHub 问题,但那里没有反应:https://github.com/FirebaseExtended/flutterfire/issues/3800

有人必须处理这个吗?

【问题讨论】:

    标签: firebase flutter firebase-authentication apple-push-notifications


    【解决方案1】:

    该应用最终通过了 Apple 审核。以下是我们所做的,以防将来有人遇到这种情况:

    • 我们在 Apple Developer 帐户中创建了两个 APN。第二个是在 Firebase 控制台中配置的

       ===> we removed the first so now we have only one APN in Apple Dev account
      
    • 在 Firebase 控制台中,我们还上传了证书(Firebase 声明 如果上传了 .p8 密钥,则不使用这些)

       ===> we removed the unused APN certificate and used only the APN .p8 key.
      

    重新提交应用进行审核,通过了。

    【讨论】:

      猜你喜欢
      • 2019-03-05
      • 2021-10-30
      • 1970-01-01
      • 1970-01-01
      • 2017-12-15
      • 2021-10-03
      • 2021-06-10
      • 1970-01-01
      • 2018-08-20
      相关资源
      最近更新 更多