Flamelink requires read & write functionality to be enabled for either the Realtime Database or Cloud Firestore (read more here) and your Storage Bucket.
β
Please ensure the following rules are set correctly:
For Cloud Firestore
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth.uid != null;
}
}
}
Copy the above rules to your Cloud Firestore database rules
For Realtime Database
{
"rules": {
"flamelink": {
".read": "auth != null",
".write": "auth != null",
"users": {
".indexOn": ["id", "email"]
}
}
}
}
Copy the above rules to your Realtime database rules
For Cloud Storage Bucket
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if request.auth != null;
}
match /flamelink/{allPaths=**} {
allow read;
allow write: if request.auth != null;
}
}
}
Copy the above rules to your Realtime database rules
That's it!
β
βYou might also be interested in knowing where Flamelink stores Cloud Firestore data. Click here.