我正在尝试从我的react原生应用程序的firestore数据库中获取登录的用户信息。 我刚接触react native,因此我不知道用firestore做这些事情的正确语法或方法。= useState(null); 我的profileScreen.js: const {user} = useContext(AuthContext);
snapshot is not a function, snapshot
我真的希望能够通过只允许firebase函数写入特定的集合来保护我的firestore db。我该怎么做呢?查看这些文档,我没有发现任何可能说明您如何做到这一点的内容。例如,我正在寻找类似这样的东西: match /databases/{database}/documents {
// Match anyin the 'cities' collectio