Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Create data sync example in tutorial #65

Open
tahpot opened this issue Apr 7, 2022 · 1 comment
Open

Create data sync example in tutorial #65

tahpot opened this issue Apr 7, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@tahpot
Copy link
Member

tahpot commented Apr 7, 2022

It is possible to syncronize data between two databases in different application contexts.

This was previously implemented in the https://github.com/verida/practitioner-emr-web project allowing a user to sync their health records between the Vault and the EMR application.

Here is the code in the EMR web application that generates the Vault message requesting data to be syncronized.

The tutorial needs to add the ability for to generate this type of data sync request, to create a local encrypted database in the tutorial context and sync it with data from the Vault (perhaps the contexts or credentials?).

@tahpot tahpot added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 7, 2022
@tahpot
Copy link
Member Author

tahpot commented Apr 22, 2022

@nick-verida I have added an example of this in the web sandbox:

https://github.com/verida/web-sandbox/pull/28

It doesn't actually work in the Vault, as there is a bug. Created an issue here:
https://github.com/verida/vault-mobile/issues/478

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant