Hi Guys, i am just tested something and it does not seem to work accordingly to plan.
Now i have 2 android phones, Phone A and Phone B, both are connected to the couchbase server through sync gateway.
Phone A Created Document ID 1 Rev 2-33
Phone A Push to Couchbase Sever
Phone B pulls from couchbase Sever
Phone B updates Document ID 1 Rev 3-22
Phone B Push to Couchbase Sever.
How can i notify Phone A that there is a change in document ? Or is it because i SetContinous to true it will forever listen to any document change in the sever and automatically sycn down.
I tried to use the Doc.addChangeListener example but it only triggers when i update a document on that particulate phone and not the other phone