-
Notifications
You must be signed in to change notification settings - Fork 872
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
Firestore enablePersistence(): “Error enabling offline persistence. Falling back to persistence disabled” #2404
Comments
Thanks for reporting this issue, @kebarvid. I was able to encounter the same behavior using your live app. I'm trying to replicate this as well on my end using my new fresh app but wasn't able to replicate it. Can you help me reproduce the error? If you could provide a minimal repro of your app that I can run locally, that would be a great help for us to speed up the investigation. Thanks |
@kebarvid It seems like your app has overwritten the I'll add an additional check of |
You are correct @thebrianchen . To make a database solution i was using earlier to work i did set a global variable called process. When i removed that everything works fine! Thanks for the help! |
Describe your environment
Describe the problem
I'm making a PWA app with Ionic 4 (angular) and Firebase Cloud Firestore as database. And it was working fine until just now when i wanted to enable offline persistance. Using AngularFire and the docs is not hard to follow. This is is how i enable it in my app-module.ts
When i run the app i get this warning in Chrome Developer Tools:
and a similar one in Firefox:
Steps to reproduce:
enable it in app.module.ts with:
Relevant Code:
You can se the error live @ https://cubetrainer.nu
The text was updated successfully, but these errors were encountered: