Failure to receive updates from the cloud

I am trying to setup a client using couch db lite to push and pull data from the cloud. These are the things I have done so far;

  1. Setup couch database on the cloud (including sync gateway)
  2. Setup a database, and a collection - im using the default (_default) scope.
  3. Setup a simple android native application and setup a replication for push and pull.

The push works well (this proves that the database and everything has been setup properly), however the pull does not work.

Snippets of curl used to create database.

curl --location --request PUT '' \
--header 'Authorization: Basic $DIGEST' \
--header 'Content-Type: application/json' \
--data-raw '{
    "bucket": "kalinga-db11",
    "scopes": {
        "_default": {
            "collections": {
                "kalinga-collection11": {
                    "import_filter": "function(doc) { return true; }",
                    "sync": "function(doc){channel(\"*\");}"
    "num_index_replicas": 0,
    "enable_shared_bucket_access": true,
    "import_docs": true

snippets from java client code - where i create the replication

CollectionConfiguration collConfig = new CollectionConfiguration();

        ReplicatorConfiguration replConfig =
                new ReplicatorConfiguration(
                        new URLEndpoint(new URI("ws://" + Constants.DATABASE_NAME)))
                        .addCollection(collection, null)
                        .setAuthenticator(new BasicAuthenticator(Constants.USER, Constants.PASSWORD.toCharArray()));

        replicator = new Replicator(replConfig);

        ListenerToken token = replicator.addDocumentReplicationListener(listener);
        ListenerToken changelistener = replicator.addChangeListener(new CustomChangeListener());

        return token;

how i push the data to the cloud via sync gateway

curl -X PUT -H "Content-Type: application/json" \
--header 'Content-Type: application/json' \
--header "Authorization: Basic $DIGEST" \
  http://localhost:4985/kalinga-db11._default.kalinga-collection11/035206ea-d09c-4af3-aaf7-f06c42a42e9 \
  -d '{"name":"from curlxx","done":true}'

The push replication works well, for some reason pull does not. I assume that if the push works seamlessly the pull should work and ideally new documents should get replicated on my couchdb lite database. I see no errors on the logs as well.