【问题标题】:Record not inserting in cloud firestore and not getting success or error message记录未插入云 Firestore 且未获得成功或错误消息
【发布时间】:2022-06-28 22:11:38
【问题描述】:

我正在尝试在我的任务集合中添加一个新任务。但是在运行查询时,记录没有被插入到firestore db中,我也没有得到任何成功或错误。 我的代码 console.log("successfully added") 没有运行。下面我分享我的代码截图,请查看它们并指出我在哪里做错了。 enter image description here enter image description here

【问题讨论】:

    标签: react-native google-cloud-firestore


    【解决方案1】:

    请务必正确初始化 Firebase,如果不是...它甚至不会尝试存储。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-08-31
      • 2023-04-06
      • 1970-01-01
      • 1970-01-01
      • 2020-03-06
      • 2015-09-01
      • 2020-03-12
      相关资源
      最近更新 更多