I am using this example code:arcgis-runtime-samples-qt/GenerateGeodatabase.qml at master · Esri/arcgis-runtime-samples-qt · GitHub
and it does create the replica, but the data is 10-15 min old, and not the latest.
why would that happen?
Params are:
// create the generate geodatabase parameters
GenerateGeodatabaseParameters { id: generateParameters
extent: app.centerExtent
outSpatialReference: SpatialReference { wkid: 4326 } returnAttachments: true
syncModel: "SyncModelGeodatabase"
// only generate a geodatabase with 1 layer
layerOptions: [
GenerateLayerOption { layerId: featureLayerId
}
]
}