I am implementing Couchbase lite with my Android app and I found that the better way to use Couchbase lite sync for pull is to use GCM and not the continuous pull. I was going through the tutorial here and the same app's repo is here.
As mentioned in the repo's readme, I need to use the Notification worker binary from this repo.
I figured out all the things how it works. And also successfully run the sample app using my own sync gateway. But unable to get how can I get the Notification worker thread work for my application.
This notification worker binary communicates with sync gateway as it mentioned here : http://www.slideshare.net/droidconae/droidcon-dubai/32
How can I make it to work for my android app? And what is the actual role it plays to get the changes and how it decides to whom it needs to send the sync request?
Any reference or guide would be very helpful.
Thanks in advance.