I'm a firebase project owner, My DataBase rule read and write set to true, But I can't able to read and write in the cloudFireStore storage.SHA1 and SHA256 key also added to the googleservices.json file, Permission Denied exception occurs.
Exception details:
W/Firestore(12435): (21.3.0) [Firestore]: Listen for Query(users/null/info) failed: Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null} I/System.out(12435): com.google.firebase.firestore.FirebaseFirestoreException: PERMISSION_DENIED: Missing or insufficient permissions.
Database rules code:
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
// This rule allows anyone on the internet to view, edit, and delete
// all data in your Firestore database. It is useful for getting
// started, but it is configured to expire after 30 days because it
// leaves your app open to attackers. At that time, all client
// requests to your Firestore database will be denied.
//
// Make sure to write security rules for your app before that time, or else
// your app will lose access to your Firestore database
match /{document=**} {
allow read, write: if true;
}
Any help will be greatly helpful.