Reputation: 53
My terminal returns the following error:
PlatformException (PlatformException(Error performing getDocuments, PERMISSION_DENIED: Missing or insufficient permissions., null)
Already checked my Google dev console settings and I can't find a solution.
Upvotes: 1
Views: 1913
Reputation: 405
Make sure the security rules on Firebase's database allows you to read and write data. I.E:
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write;
}
}
}
Upvotes: 2