You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a web app and a mobile app, both runs pouchdb. I want to enable sync between them, without storing any info on my server.
I read that I need to use a signal server and pouch over rtc.
Can anybody guide me or help me out with this.
The text was updated successfully, but these errors were encountered:
Hi @theavijitsarkar - I'm not associated with the socket-pouch library but colleagues of mine developing the Tangerine survey tool have done something similar to what you are looking for instead of over WebRTC we used Android Nearby protocol between two devices. The trick to getting PouchDB to sync between two devices without traditional http is to 1) export the replication stream as a file using https://github.com/pouchdb-community/pouchdb-replication-stream and then 2) transfer that file to the other device where it can be imported into pouchdb using the same pouchdb-replication-stream library. Using pouchdb-replication-stream, you'll just need to figure out how to transfer files over Web RTC. Something like this tutorial might help.
I have a web app and a mobile app, both runs pouchdb. I want to enable sync between them, without storing any info on my server.
I read that I need to use a signal server and pouch over rtc.
Can anybody guide me or help me out with this.
The text was updated successfully, but these errors were encountered: