Tangerine icon indicating copy to clipboard operation
Tangerine copied to clipboard

Per-Device Two-Way Sync

Open esurface opened this issue 2 years ago • 1 comments

User Story

The study has research assistants (RAs) in the field who collect data and are monitored by field supervisors (FSs). Currently the FSs review the data on each RA device separately which is a logistical challenge since the RAs work remotely. This new feature allows FSs to review data collected on a set of tablets on a single tablet without the need to push all data to all tablets.

esurface avatar Feb 02 '23 13:02 esurface

Hi. I work at EITA cooperative (https://eita.coop.br) and we are developing an app in react native that have to work completely offline and sync between mobile devices. This app will be used by communities in the amazon forest, there are some devices that will be completely offline and the data must be replicated to another person's device (the person that eventually haves internet access).

I have seen some of your project's code, we are considering to use PouchDB. However, I am having some trouble to do the peer-to-peer communication (replication). There are some plugins out there very dependent on node's libraries, but we don't have them on react native.

Did you get to make two PouchDB instances in different devices replicate? If yes, how? Thank you for your help.

viniciuscb avatar Feb 05 '23 22:02 viniciuscb