Hello, we are using the GeodatabaseSyncTask class to generate offline feature service layers from a feature server, we have noticed that some of the symbology is not displayed properly in some of the layers. When verifying these feature layers in the ArcGIS Online web application the symbology is correct, we wonder if this is expected?
Thanks in advance,
Correct symbology (left side, ArcGIS Online web viewer)
Missing symbology (right side, iOS app using Swift SDK)
Hi Cristhian, when using the GeodatabaseSyncTask to download and sync feature layers from ArcGIS Online, visualization settings (like symbology, renderers, and labeling) are not included in the geodatabase itself. Using OfflineMapTask would be the way to take symbology offline. The GeodatbaseSyncTask only accounts for the underlying data and the default symbology defined in the feature service because it doesn’t know anything about the webmap or the layer’s portal item.
See this answer for a similar question we recently received.