如果我使用expo start,我的 firestore 在 Expo Go 中工作正常。但是当我使用它时expo start --dev-client它停止工作。我已经尝试使用EAS Migration Guide来使用 EAS ,但发生了同样的错误。
这是错误消息:
@firebase/firestore:, Firestore (8.2.2): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
at node_modules/@firebase/logger/dist/index.cjs.js:98:8 in defaultLogHandler
at node_modules/@firebase/logger/dist/index.cjs.js:212:8 in Logger.prototype.error
at node_modules/@firebase/firestore/dist/rn/prebuilt.rn-f9cd27ba.js:60:8 in P …Run Code Online (Sandbox Code Playgroud)