While it is not recommended for a production app, if you
really just want to check whether the user is authenticated at all, the documentation suggests to check for
request.auth != null, not
request.auth.uid != null. Check if that changes anything.
Hi everybody from Ukraine!
I'm going crazy now!
I'm making an android app using Firestore. Everything was fine, but for the last couple of days any request to the firestore database returns the error: "com.google.firebase.firestore.FirebaseFirestoreException: PERMISSION_DENIED: Missing or insufficient permissions."
The rules are written correctly ("allow read, write: if request.auth.uid != null;"), the test passes in the playground. But the app doesn't work. I've already tried everything! Can you please tell me what else you can pay attention to? It is necessary to urgently finish the project, and this stops me.