I’m trying to modify my security rules such that I can deploy an app to play store, I tried the following:
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**}{
allow read: if true;
allow write: if request.auth != null
}
}
}
But still I received an email that says:
We've detected the following issue(s) with your security rules:
- any user can read your entire database
- any user can write to your entire database
Any solutions?