-1
Error: Uncaught (in promise): Error: PERMISSION_DENIED: Permission denied Error: PERMISSION_DENIED: Permission denied
Setting up my firebase looks like this:
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read, write: if 'true';
    }
  }
}
Before it was like this in the original configuration:
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read, write;
     }
   }
 }


And why are you doing
allow read, write: if 'true';instead of leaving as it was beforeaallow read, write;? This commandif 'true';is not run by the way– Matheus Ribeiro