FirebaseError: Failed to get document because the client is offline

#1

I found this error only on Andorid? Someone have same problem?

#2

document is a browser API – it seems likely that Firebase is trying to run browser code in a non-browser environment (Expo), which is the root cause.

#3

This problem happens only with firebase.firestore(), with firebase.database() it is working well.