Automatically sync data

Home for older / inactive topics

Automatically sync data

Postby irene.meyer1422261887 » Wed Mar 23, 2016 4:49 pm

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
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Return to Archive

Who is online

Users browsing this forum: No registered users and 4 guests