When using firebase An error occurs as below.
redux-firestore listener error: FirebaseError: Missing or insufficient permissions.
current firestore rule
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth.uid != null;
}
}
}
If change the firestore rule, it will work.
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if true;
}
}
}
What's the problem?