Bernardo sometimes it doesn't sync.
it happens on android/ios app
sync is active at first launch of the app , or a phone restart then reopen the app
but if i just close the app from its task manager, then reopen it , any changes will not sync anymore unless i close it again then reopen it will trigger the sync but any changes will not sync until i repeat the process
so what i did to resolve it temporary is when i execute an insert
i just need to close the current connection
then reconnect
then run the sql to insert it to local
then close again then reconnect after the insert query to trigger the sync function