blockstack-android icon indicating copy to clipboard operation
blockstack-android copied to clipboard

As a developer, I want to do synchronisation

Open friedger opened this issue 7 years ago • 3 comments

There should be a convenient way to do synchronisation of a file. How to manage the sync state?

Is synchronisation out of the scope of the SDK?

friedger avatar Jun 11 '18 18:06 friedger

What do you mean by synchronization? Syncing only changes between a local file and a remote file? Like rsync?

larrysalibra avatar Jun 18 '18 10:06 larrysalibra

Yes, syncing between a local and remote file.

When I put a file into gaia storage I want to know whether it has changed from a different device. And I have to fetch it first and merge the local changes before putting the file.

For Android's content provider and PWA's local storage this is a common use case.

friedger avatar Jun 18 '18 11:06 friedger

The proposal API in https://github.com/blockstack/blockstack.js/issues/702 will help here.

friedger avatar Sep 17 '19 18:09 friedger