Thanks for your reply. I have a method that looks like this, and it will terminate the app every time:
public static async Task<Geodatabase> GenerateOfflineGdbAsync(string mapName, Envelope mapExtent)
{
GeodatabaseSyncTask gdbSyncTask = null;
var url = "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Notes/FeatureServer";
try {
gdbSyncTask = await GeodatabaseSyncTask.CreateAsync (new Uri (url));
} catch (Exception ex) {
throw new Exception ("An error occurred while creating the sync task. Check the sync Url is correct and try again.\n\n" + ex.Message);
}
There may be some other things at play here, for example, there is code in place before this to make sure the device doesn't enter sleep mode. I wouldn't think this would have an impact on this, but just wanted to throw it out there.
I have the HockeyApp crash logs, but it doesn't seem to share much useful information. I can share that if you think it is worth it. I'll try tomorrow to grab more debug info from the device to see if I can more helpful information.
I'll also try to pull out the code into a self contained example to see if the issue still happens and let you know.
Thanks!