I'm using a feature service to generate a local geodatabase. All of the examples I've seen unregister the replica/geodatabase when the app is exited.
I want the app to continue to use the existing database when it's exited and opened again. This way if the user closes the app in the field, and they haven't been back to the office on our internal network to sync, they can still load the same geodatabase and sync.
So, if the local geodatabase doesn't exist, I want it to be generated from the feature service, but if the geodatabase does exist on the device, then I want to continue to use it.
I've tried quite a few different ways, but none of them have worked.
Is this possible? Any advice?