@Abel_Souza_Magalhaes Hi Abel, regarding the first question, could you elaborate on what you mean by “calling sync button programmatically”? Are you trying to force-sync the app based on some user’s action or input?
Regarding the second problem, technically speaking, in order to detect new changes in the sheet as soon as the changes are made, the app, or rather the device the runs the app, would have to regularly send requests to the sheet in order to monitor changes. On mobile devices, this type of regular requests would quickly drain the device’s battery, which is why we don’t do this in AppSheet.
Right now, the only option available is to turn on the Automatic Updates settings in the app. This will cause the app to query the sheet’s data at regular intervals instead of continuously.