gpt4 book ai didi

android - firestore 内部断言失败

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:12:05 24 4
gpt4 key购买 nike

我在一个 Ionic3 应用程序中工作,使用 Firestore 和 AngularFirestore2。在浏览器、登录、文档、集合、插入新内容等方面一切正常。尝试在 Ionic View 中部署应用,Firestore 无法正常工作,错误信息为

FIRESTORE INTERNAL ASSERTION FAILED AsyncQueue is already failed The parameter is not a valid key

我也试过用cordova build构建apk,但问题是一样的。这不是 Firestore 权限规则的问题,因为所有文档都允许读取和写入。有没有人遇到同样的问题?谢谢

最佳答案

在我的例子中,这个错误是因为我离线启用了 AngularFire 持久性。

我只是删除了我的 app.module.ts 的这一行,它再次正常工作。

    // AngularFirestoreModule.enablePersistence(),

关于android - firestore 内部断言失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47252179/

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