Disable auto-sync for a specific app

You can use data events to turn off auto-sync (non-blocking sync) on a per-app basis. You can do this by adding the following code to your app:

ON('load-record', function() {
  var config = {
    auto_sync_enabled: false,
  };
  SETFORMATTRIBUTES(config);
});