I am using this example code:arcgis-runtime-samples-qt/GenerateGeodatabase.qml at master · Esri/arcgis-runtime-samples-qt · GitHu...
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
}
]
}
Hard to say. Do you use versioning with a rec/post operation that might be scheduled? Or perhaps you are editing in different extents than your replicas? As soon as you sync, edits should be applied unless either of those 2 scenarios are happening