I tried an experiment as a way to approximate syncing between devices over the local network (for when you don’t have internet access). I thought that if you could run a remoteStorage server from localhost and then make it accessible via wifi, you could temporarily swap out the tokens in the app and sync locally, and then when you have internet access you could swap the tokens back to propagate the changes to the cloud server.
As a way to simulate this quickly I used a second 5apps account. I created some objects in my app and then after they synced to another device, I swapped my username and token with that of the second account. Well I guess I have no idea how the library works because it just removed the objects from local storage instead of trying to sync them to the second account; I thought it would see that there are objects not currently on the server and then add them to the new account. Can anyone summarize how this is implemented? Would it be naive to try and make this possibiltty work for real?