了解 Firebase 应用检查拒绝
我的项目使用 Firebase 应用程序在 iOS 上使用 DeviceCheck 进行检查应用程序测试,云功能强制检查 auth context.app
是否未定义,就像:
if (appCheckEnabled == true && appCheckFunctions[functionName] == true) {
if (context.app == undefined) {
appCheckFailure["reason"] = "context is undefined"
appCheckResult["valid"] = false
}
}
在我的设备和我团队的设备上一切正常,大多数用户也都很好。 问题是我有一些用户在 iOS 上被拒绝,我们试图理解为什么当我们询问应用程序是否通过应用程序商店下载并提供正确的链接时,我们还询问了设备的视频,一切看起来都很好(还要检查是否越狱)。所以我有一些关于应用程序检查的问题:
- 由于应用程序检查处于测试阶段,是否有可能得到一些误报结果?
- iOS 上云函数的 context.app 未定义的原因是什么?
- 他们有可能因为配额而被拒绝吗?我找不到任何方法来检查 Apple 设备检查配额是否已达到?有人知道我在哪里可以找到有关它的统计数据吗?
感谢您提供任何有助于理解的答案。
My project use Firebase App check on iOS using DeviceCheck & App Test, cloud functions have enforcement checking wether auth context.app
is undefined or not, simply like:
if (appCheckEnabled == true && appCheckFunctions[functionName] == true) {
if (context.app == undefined) {
appCheckFailure["reason"] = "context is undefined"
appCheckResult["valid"] = false
}
}
Everything work fine on my devices and my team's device and most of users are fine too.
Problem is that i have some users that are rejected on iOS, we try to understand why as we asked us if the app is downloaded via the app store and correct link, we also ask a video of the device and thing is everything looks fine (also check for jailbreak). So i have a few question about app check :
- As App check is in beta is it possible to get some false positive result ?
- What can be the reason on iOS for the context.app of the cloud function to be undefined ?
- Is it possible they get rejected because of the quotas ? I could not find any ways to check if the Apple Device Check quotas have been reached ? Anyone know where i could find stats about it ?
Thank you for any answer that could help understand.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论