Jose Pato
Jose Pato

Reputation: 121

How do I consume a CouchDB view on an Android offline?

For example we have created this view:
http://cdb.linkaform.com/client_126_catalog_records/_design/paises/_view/paises-key

How can we consume this View on an Android? We are using the CouchBase and Cloudant library.

Upvotes: 2

Views: 205

Answers (1)

Juanjo Rodriguez
Juanjo Rodriguez

Reputation: 2131

There is no support for using remote views at least in Cloudant Sync.

The approach in both libraries is to replicate the documents into the local storage using the native replication mechanism. Once the information is replicated you should use the data selection mechanism provided by each library.

Upvotes: 1

Related Questions