React Native: Error: @firebase/firestore: ", "Firestore(4.10.1): Could not reach Firestore backend "
Problem
[REQUIRED] Describe your environment Operating System version: IOS (React Native), Android (React Native) Firebase SDK version: 4.12.0 Firebase Product: Firestore > Error: @firebase/firestore: ", "Firestore(4.10.1): Could not reach Firestore backend " Steps to reproduce: Add npm install firebase@4.12.0 --save to the react native project Add the code below to the project Nothing is happening (collections and documents were not created) Relevant Code: [code block] <img width="421" alt="screen shot 2018-04-05 at 15 50 21" src="https://user-images.githubusercontent.com/10096433/38366636-1bed5338-38e9-11e8-8018-f4274cd01fe3.png">
Error Output
Error: @firebase/firestore: ", "Firestore(4.10.1): Could not reach Firestore backend "
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: React Native: Error: @firebase/firestore: ", "Firestore(4.10.1): Could not reach Firestore backend "
Operating System version: Android (React Native) Firebase SDK version: 4.12.1 Firebase Product: Firestore I have the same issue, too. but, only error in android. If this error occurs, the data can not be read. See below error: > Failed to get document because the client is offline.
Trust Score
4 verifications
- 1
Operating System version: Android (React Native)
Firebase SDK version: 4.12.1 Firebase Product: Firestore
- 2
I have the same issue, too.
but, only error in android.
- 3
If this error occurs, the data can not be read.
See below error:
- 4
> Failed to get document because the client is offline.
> Failed to get document because the client is offline.
Validation
Resolved in firebase/firebase-js-sdk GitHub issue #638. Community reactions: 5 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep