I had the same problem, but the solution it isn’t downgrading the version for the firebase package. Searching on the internet and other people with the same error, I was found these:
The firefire firebase does not show any error messages and finding a solution is very difficult
The default configuration on firestore put false the condition rules for security, and this is the real problem.
Finally, the solution is changing the rule on the firestore.
rules_version = ‘2’;
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if TRUE # change FALSE for TRUE
}
}
}