【发布时间】:2022-06-19 01:23:04
【问题描述】:
今天我向 App Review 提交了我的应用,但我收到了一条关于 Recaptcha 未加载的消息。
指南 2.1 - 性能 - 应用完整性
一种可能的解决方案是:
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
}
但我不知道如何将其应用于颤振。
【问题讨论】:
标签: ios flutter firebase-authentication