Replication pullReplication = database.createPullReplication(syncUrl);
pullReplication.setContinuous(true);
Replication pushReplication = database.createPushReplication(syncUrl);
pushReplication.setContinuous(true);
pullReplication.start();
pushReplication.start();
• How did you check whether the documents exist on the server?
That i can say by using some javascript view and query or normal way we can take local document id(which is newly created) and with help this document id we can search in server.
This how i did.
• Have you checked for log messages or error notifications? Are you sure the sync isn’t failing?
I'm not sure about that.Just i was tested with (ANN: Couchbase Mobile 1.1 Preview Release android) after that i faced very major issue about attachments(In my project attachments are the key role) so that i migrate my project old version only
Note: Do you want more any other information please let me know i can provide those details
Thanks
On Jun 9, 2015, at 2:01 AM, PRASANNA KUMAR <prasannak...@gmail.com> wrote:> Attachments are missing in this document (When i was using ANN: Couchbase Mobile 1.1 Preview Release android). Even i've tested updating same document many times but attachments are not pushing to server database
On Jun 9, 2015, at 11:47 PM, PRASANNA KUMAR <prasannak...@gmail.com> wrote:When creating document with attachments i'm able seeing some logs(Exception) here,it may help us solve this problem
Manager.enableLogging(TAG, Log.VERBOSE);
Manager.enableLogging(Log.TAG, Log.VERBOSE);
Manager.enableLogging(Log.TAG_SYNC_ASYNC_TASK, Log.VERBOSE);
Manager.enableLogging(Log.TAG_SYNC, Log.VERBOSE);
Manager.enableLogging(Log.TAG_QUERY, Log.VERBOSE);
Manager.enableLogging(Log.TAG_VIEW, Log.VERBOSE);
Manager.enableLogging(Log.TAG_DATABASE, Log.VERBOSE); |