1

我正在尝试在我的颤振应用程序上运行集成测试。我要测试的流程之一是登录流程。该应用程序中有一个 Firebase 电话号码身份验证。当我尝试调用 signInWithCredential 以使用测试电话号码和测试验证码登录时,出现错误:

I/flutter (24151): The following FirebaseException was thrown running a test:
I/flutter (24151): [cloud_firestore/permission-denied] The caller does not have permission to execute the specified
I/flutter (24151): operation.

看起来 Firebase 项目中配置的 SHA1 指纹与颤振驱动应用程序不匹配。也许我错了。我的问题是如何使用 firebase-auth 为应用程序运行集成测试。我对 SHA1 的看法是正确的——如何为颤振驱动程序应用程序设置歌唱配置?

4

0 回答 0