So I have a mobile app (phonegap) using couch base lite that replicates between it and a sync gateway.
I'm doing this:
1) authenticate through the sync gateway
2) register change notification on local couch base lite
3) call push & pull replicate between local couch base lite and sync gateway
What I've noticed is that the first time I do this, nothing replicates in, thus no change notification from the local couch base lite.
Then I _reinstall_ the app (not restart, reinstall) and all of a sudden I see replication happening, and thus change notification from the local couch base lite.
Can anyone help me understand this behavior?
thank you,
slim