seigel / pouchdb-react-native

Pouchdb with async storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example not working on sync

g100-dev opened this issue · comments

http://127.0.0.1:5984/test/_local/7c4Lb3ACIUWBoyXXe7qCcw%3D%3D?&_nonce=1531119384793 returns {"error":"not_found","reason":"missing"}

image

screenshot:
image

is there anything wrong?

I am hitting the dreaded EventEmitter warning also. It repro's with the example app on OSX High Sierra:
-install couchdb locally
-build example for android or ios emulator, pointing to the local pouch server
-launch app on device
-BEFORE sync'ing, add a new item
-sync
-after a couple of seconds you get the warning
Sync will not work anymore. After restarting the app, a sync will cause the error again. Only a db delete will fix this.

Update: I was able to repro on an android device also.

Update 2: I can repro consistently when the debugger is NOT connected