Reputation: 609
How to use Firebase java SDK (To Desktop applications) offline? Is possible? I need this function to use software desktop offline and sincronization with Android using Firebase.
Upvotes: 1
Views: 226
Reputation: 598847
The Firebase Java SDK will handle intermittent connectivity loss. It will simply keep the data it's already received in memory and will queue any local modifications in memory until it has a connection to the server again.
This data will be lost when the user restarts of the application. There is an option to persist the data to disk, but that is only available for iOS and Android.
Upvotes: 2