我刚刚开始在我的本机应用程序中使用react-本机-firebase实现Firestore。我只是在跟踪docs ,但它对我不起作用。 [TypeError: undefined is not a function (near '...this._firestore.native.collectionGet...')]以下是相关代码:
imp
我是新的反应-原生的,我试图将数据数组从第一存储查询返回到设备屏幕,我可以setDevices。我使用.get()和.then()完成了这个任务,但是我没有得到更新的事件,所以我已经转移到onSnapshot,在查询结束时似乎有数据,但是不能在屏幕上获得这个设置。,Text,View } from "react-native";
import { TouchableOpacity } from "react-nat
尝试让Firestore导入到我的应用程序,但仍然得到错误“不变的违规:本机模块不能为空”我正在寻找一些解决方案,人们说要在ios中运行pod install,但ios文件夹在expo中不存在?我的import it import firestore from '@react-native-firebase/firestore';,我使用的是firebase身份验证,它工作得很好,但是用firestore