Should syncGeodatabase obey the AGSGDBGenerateParameters?

Discussion created by jungelpost on Feb 20, 2014

I´m creating a offline geodatabase with generateGeodatabaseAndDownloadWithParameters. The parameters contains a filter, so that only a subset of the features are returned.

Say, the filter is state=active.
Now, the user changes this feature´s state to inactive.

Then syncGeodatabase gets triggered. The feature´s state is now inactive on both client and server, but the object still persist on client. -I was expecting that the feature disappeared because of the filter in the geodatabase´s parameters.

Is this behaviour by design? If so, is there a way of removing the object locally and not on server?