2

I am bit new to nodejs and working on with a fire base application.I want to make application such that it could work with fire base off-line also

I tried to search for a relevant answer How exactly can we make changes such that fire base can work off-line with nodejs technology it does seems to work off-line with nodejs

Thanks in advance

1 Answer 1

1

All Firebase SDKs handle intermittent connectivity loss: they keep the data in memory and when the connection to the back-end is restored, they send any pending writes and update the local cache.

The Firebase SDKs for iOS and Android also support disk persistence. This means they write recently downloaded data (and pending writes) to disk, and re-read them from there when the app restarts.

JavaScript clients (including the Admin SDK for Node.js) only support the intermittent connectivity loss. They don't have a disk based persistence mechanism, although somebody is working on it now that the SDK is open-sourced.

Also see: Does Firebase JavaScript API catch-up with server when re-connected

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.