firebase-user·hace 5 años·discussYou should try using Firebase. It handles the data-sync for you, and it applies all updates locally first so that your app feels snappy.