On Android only, I'm having a problem losing connection with firestore where my lists are no longer updated with the latest data. Worse still, I'm having problems loading certain documents because the data no longer seems to be up to date on the application side.
When I left a version running in debug mode for a while (over an hour), I came across this error:
[ +192 ms] W/Firestore(22134): (24.10.1) [FirestoreCallCredentials]: Failed to get auth token: com.google.firebase.FirebaseException: An internal error has occurred. [ Requests to this API securetoken.googleapis.com method google.identity.securetoken.v1.SecureToken.GrantToken are blocked. ]. [ +16 ms] W/Firestore(22134): (24.10.1) [WatchStream]: (6a035bf) Stream closed with status: Status{code=UNAUTHENTICATED, description=null, cause=com.google.firebase.FirebaseException: An internal error has occurred. [ Requests to this API securetoken.googleapis.com method google.identity.securetoken.v1.SecureToken.GrantToken are blocked. ]
I don't know how to correct this error, apart from forcing a user logout, but for that the application would have to detect that it was no longer connected to firestore.