AppCheck 在 ios 模拟器上失败

hun*_*erp 5 firebase flutter firebase-app-check

我的 appcheck 在我真实的 ios 设备上的相同代码库上运行良好,

但在模拟器上,我看到:

await kFirebaseFuncs.httpsCallable('doIt')

PlatformException (PlatformException(failed-precondition, The function must be called
from an App Check verified app., {message: The function must be called from an App
Check verified app., code: failed-precondition}, null))
Run Code Online (Sandbox Code Playgroud)

我需要做些什么才能使 appcheck 在 ios 模拟器上工作吗?

hun*_*erp 5

https://firebase.google.com/docs/app-check/ios/debug-provider

这就是解决这个问题所需要的

  • 难以置信,他们的实施方式还能更笨拙吗…… (2认同)