-
Notifications
You must be signed in to change notification settings - Fork 927
Firebase error : failed to get document because the client is offline #5836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @YunsGeek, thanks for reporting. It looks like this issue is similar to #5667. Could you try checking if the provided solution in that issue is able to resolve the problem? If not, could you attach details of the log so we can investigate this further? Thanks! |
thank you , but it does not work and still the same error and the result is : ERROR : LOG : Failed to get document because the client is offline. |
There is definitely something odd here, even though you've encountered the same issue. With that said, could you provide us with an MCVE and connection logs? You can enable detailed debug logging using firebase.firestore.setLogLevel('debug') so we can investigate this further, please do remove any PII (if there are any), It'll greatly help us to pinpoint where the issue lies. |
probleme solved by using https://rnfirebase.io/ package |
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
im using firebase v9 with react native project , it gives me error while trying to get or set data in firestore , my code is valide , the confuse one is auth working fine but firestore gives me error that my device is not connected to network intenet , i tested it in my real
device and android emulator it gives me the same error from wednesday, im stuck in this probleme plead
Relevant Code:
The text was updated successfully, but these errors were encountered: