AnsweredAssumed Answered

Setting SyncDirection.UPLOAD does not work

Question asked by jaarons47 on May 1, 2017

I would like to give users the choice of whether they want full Bidirectional Sync or to just upload features.  It seems that setting the Sync Paramaters to Upload only does not actually work.  I still get new features from other users downloading back to my device after syncing.  Below is the code I am using...

 

SyncGeodatabaseParameters syncParams = geodatabase.getSyncParameters();
syncParams.setSyncDirection(SyncDirection.UPLOAD);
gdbTask.syncGeodatabase(syncParams, geodatabase, statusCallback, syncResponseCallback);

Any thoughts greatly appreciated!

Outcomes