gpt4 book ai didi

ios - Firebase 和 iOS 15 - 无法联系 Recaptcha。检查您的连接并重试

转载 作者:行者123 更新时间:2023-12-05 04:42:01 24 4
gpt4 key购买 nike

昨晚我更新了所有的 pod。我正在使用

Firebase (8.9.1)
Firebase/Auth (8.9.1)
Firebase/Messaging (8.9.1)
FirebaseAnalytics (8.9.1)
FirebaseCore (8.9.1)
FirebaseCoreOnly (8.9.1)
//... everything is 8.9.1

今天我将我的应用程序提交给 App Review,我收到了一条关于 Recaptcha 未加载的消息。

我提交了 2 个应用程序,但它们都无法通过 iOS 15 中的 Recaptcha,但在我这边,我有一台运行 iOS 13 的设备和另一台运行 iOS 14 的设备,Recaptcha 对这两个应用程序都运行良好。我什至在模拟器上运行它,Recaptcha 对这两个应用程序都有效。我有用于登录的测试电话号码在 Firebase 中注册为测试号码。我可以毫无问题地使用该号码登录。

即使我上次 AppStore 更新已经过去几个月了,但我以前提交的任何内容都没有发生过这种情况。从上次更新到今天,我从未更改过任何代码。

我想知道这是 iOS 15 的问题吗?

Guideline 2.1 - Performance - App Completeness

We discovered one or more bugs in your app.

Specifically, we still encountered an error message at the login.Please see the attached screenshot(s) for your reference.

Review device details:

  • Device type: iPhone and iPad
  • OS version: iOS 15.1

Next Steps

Please run your app on a device to reproduce the issues, then reviseand submit your app for review. If at first you're unable to reproducethe issue, try the following:

  • For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce.
  • For app updates, install the new version as an update to the previous version, then follow the steps to reproduce.

If we misunderstood the intended behavior of your app, please reply tothis message in Resolution Center to provide information on how thesefeatures were intended to work.

这是他们发送的屏幕截图。这两个应用程序都是一样的。

enter image description here

最佳答案

在部署了几个都被 App Review 团队拒绝的新版本后,我终于通过了。

我关注了this github .寻找@rignaneseleo 和@diegogarcia 的答案)。他们都说将其设置为 .unknown,如 Auth.auth().setAPNSToken(deviceToken, type: .unknown)

在 AppDelegate 中我有:

func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {

Messaging.messaging().apnsToken = deviceToken
Messaging.messaging().setAPNSToken(deviceToken, type: MessagingAPNSTokenType.prod)
Auth.auth().setAPNSToken(deviceToken, type: .unknown) // Setting this to .unknown is what seems to have helped
}

然后我跟着这个answer通过@sajedeNouri

set the Identifier to Client in the "URL Types" in the Info of theproject.

enter image description here

关于ios - Firebase 和 iOS 15 - 无法联系 Recaptcha。检查您的连接并重试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69909351/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com