Skip to Content
0
Former Member
Apr 11, 2011 at 04:19 PM

SUP Background Synchronization (message based)

33 Views

Hi guys,

I'm currently getting used to working with Sybase Unwired Platform and am developing a message based iPhone App in the process. I successfully set up an application which subscribes to a server package and does the initial synching/import to the local database.

Moreover, adding/editing items locally and submitting to unwired server works like a charm (changes are also correclty put into my SQL Anywhere backend database).

The thing is, if I change data in the backend (i.e. enterprise data) like deleting a data set or modifyin it, it is not propagated to my iPhone. The cache group of the consolidated database sometimes seems to not update itself and as far as callbacks are concerned my device is not receiving any data change notifications from my unwired server.So the only way to get the changed server data to my device is to restart my app (doing a new subscribe -> import cycle).

I do not suppose this is the usual message based behavior (as it states in the the documentation "changes are sent to devices asynchronosly and put into device database". This is, however, not happening.

Am I maybe missing some crucial configuration step here?

Any help/thoughts much appreciated 😊

Cheers

Martin