Could not reach Cloud Firestore backend on Custom Development Client

I get an error when I try to access Firebase Firestore by firebase JS SDK in Custom Development Client. This may not be a problem with expo, but I did not have this problem when I ran the same app on Expo Go.
It occurs only on android. it doesn’t occur on ios.

We have to add the code after initializing firebase app
firebase.firestore().settings({ experimentalForceLongPolling: true, merge: true })

The issue is mentioned and the solution was given as below.

FYI to Expo team and all people who suffer from the issue.

By the way, do we have the way to check whether the app is built for custom-dev-client?
I wanna seperate the process by condition.

1 Like


1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.