Native App data not synchronized from JavaScript client api actions

0
I have a native app in which javascript action uses setInterval method to create new objects of one entity and commit them using mx.data.create and inside its callback mx.data.commit. Another entity is retrieved, some attributes are changed and then committed using mx.data.commit. 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
asked
0 answers