Enabling persistance through the firestore settings #1364
Unanswered
rvmourik
asked this question in
Questions and Help
Replies: 1 comment
-
I thinks this get answered through #1349 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I want tot enable offline caching, until version 8 of the SDK this could be done by:
However, this method is deprecated and according to the docs on the link below it is now necessary to call an enablePersistance method and pass a localCache option to the Firestore options.
https://cloud.google.com/firestore/docs/manage-data/enable-offline#web-version-9
I cannot find a way to get this working, can someone point me in the right direction?
Thanks in advance.
Robbert
Beta Was this translation helpful? Give feedback.
All reactions