ios - Firestore 添加文档 ||离线||打回来
<p><div>
<aside class="s-notice s-notice__info post-notice js-post-notice mb16"role="status">
<div class="d-flex fd-column fw-nowrap">
<div class="d-flex fw-nowrap">
<div class="flex--item wmn0 fl1 lh-lg">
<div class="flex--item fl1 lh-lg">
<b>这个问题在这里已经有了答案</b>:
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>如果您的设备<strong>无法</strong>访问 Firestore 后端,则不会调用 <code>success</code> 监听器和 <code>failure</code> 监听器。只有在数据提交到 Firebase 服务器或被 Firebase 服务器拒绝后,才会调用成功/失败监听器。这就是您在设备离线时没有收到任何东西而在设备在线时正常工作的原因。</p>
<p>所以如果写操作完成时监听器仍然存在,换句话说,当设备重新上线时,它将被调用。</p></p>
<p style="font-size: 20px;">关于ios - Firestore 添加文档 ||离线||打回来,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/52648399/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/52648399/
</a>
</p>
页:
[1]