Native App data not synchronized from JavaScript client api actions

I have a native app in which javascript action uses setInterval method to create new objects of one entity and commit them using and inside its callback Another entity is retrieved, some attributes are changed and then committed using Now the new objects created are synchronized to database and available after app quits. But the changes made to existing objects by retrieve and commit is not synchronized. This change is lost after app quits. Commit callback of this section works, I checked with a alert() there. But changes are not synced.  Anyone with information about this strange behaviour? Mendix v8.11.0
0 answers