I found this error only on Andorid? Someone have same problem?
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.
This problem happens only with
firebase.database() it is working well.