Hi Andrew,
I'm working on a project. For this project we want to minimise data transfer between app/server.
We're implementing your offlineSyncStore for this reason.
I would like to know if it's possible to alter your code in a way so that if the server only sends new data, these new rows get added to the local store, instead of replacing them.
Now, when trying to accomplish this with the "loadServer" method, the local store items get removed if they're not present in the server call.
As you can imagine, this causes a lot of data transfer that isn't really necessary.
In an older version of the app we sent along the id's of the rows that were already synced, so only new rows were sent by the server. These rows were added to the local store. Sadly this wasn't a sencha project so i can't copy this.
The user can't make any changes on the device, so sync'ing the other way isn't necessary.
Any tips are appreciated!
Hi Andrew,
I'm working on a project. For this project we want to minimise data transfer between app/server.
We're implementing your offlineSyncStore for this reason.
I would like to know if it's possible to alter your code in a way so that if the server only sends new data, these new rows get added to the local store, instead of replacing them.
Now, when trying to accomplish this with the "loadServer" method, the local store items get removed if they're not present in the server call.
As you can imagine, this causes a lot of data transfer that isn't really necessary.
In an older version of the app we sent along the id's of the rows that were already synced, so only new rows were sent by the server. These rows were added to the local store. Sadly this wasn't a sencha project so i can't copy this.
The user can't make any changes on the device, so sync'ing the other way isn't necessary.
Any tips are appreciated!