I am getting this error when the internet connection is too poor or might be there are some firewall blocks.
How could I resolve this error:
[2019-06-22T05:49:47.163Z] @firebase/firestore: Firestore (5.8.5): 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.
The problem occurs while reading.
NOTE: I had checked with a good internet with no additional firewall settings, and there were no issues like this.
I am looking for a solution which can notify the user for the same.