Page 1 of 1

Automatically sync data

PostPosted: Wed Mar 23, 2016 4:49 pm
by irene.meyer1422261887
Hi,

I would like to automatically sync the data each time I add or edit a record. E.g. In my app I have a first list form called addresses. When I want to edit or create an address I go to an address_edit form where I call a address_detail form to make the changes. I tried to call plugins.mobile.sync() in my save method but the result is a blank screen.

If I save the changes and return to the first form and sync with the button it works well.

Somewhere I read that the sync method should be called only from the first form. Is that true?

Thanks in advance for any suggestion.

Cheers
Irene