Questions tagged [pouchdb-adapter-localstorage]

6 questions
4
votes
1 answer

PouchDB and React-Native not replicating .to() but .from() is working

For some reason documents created on my app are not showing up on my remote couchdb database. I am using the following import PouchDB from 'pouchdb-react-native' let company_id = await AsyncStorage.getItem('company_id'); let device_db = new…
bryan
  • 8,879
  • 18
  • 83
  • 166
3
votes
1 answer

Angular 5 with RxDB (idb adaptor) threws Uncaught TypeError: winningRev is not a function error when creating database

I am using Angualr Cli 1.6.5(Angular 5.2.0) with RxDB 7.3.2 and pouchdb-adapter-idb 6.4.2. When I tried to create/connect to the database i am getting this errors: zone.js:192 Uncaught TypeError: winningRev is not a function at insertDoc…
1
vote
1 answer

Data syncing with pouchdb-based systems client-side: is there a workaround to the 'deleted' flag?

I'm planning on using rxdb + hasura/postgresql in the backend. I'm reading this rxdb page for example, which off the bat requires sync-able entities to have a deleted flag. Q1 (main question) Is there ANY point at which I can finally hard-delete…
yen
  • 1,769
  • 2
  • 15
  • 43
1
vote
0 answers

Sync Functionality Missing in PouchDB LocalStorage Adapter?

The pouchdb documentation says that the pouchdb-adapter-localstorage plugin is experimental. But, it also says that it passes all the CI tests. So, I am not sure whether this is a problem with my system or a problem with the plugin, but the problem…
R J
  • 4,473
  • 2
  • 22
  • 29
0
votes
1 answer

Unable to sync RxDB with couchdb on react-native after creating collections

Why would rxdb throw this error when try to connect/sync on couch server Error Sync: TypeError: undefined is not an object (evaluating 'db.todos.syncCouchDB') I tested the same function on my web app and works perfectly. By the way I'm using it on…
0
votes
0 answers

"Invalid Adapter: undefined" error in Edge Private mode while using PouchDB

While checking for pouchDB webSQL adapter if (PouchDB.adapters.websql) { // code } I get "invalid adapter: undefined" error. Above code is working fine in all browsers except Edge (private mode). i checked the latest version of edge issue also…