Esri Layers Not Loading on Xamarin.iOS Application - Invalid JSON Exception

Discussion created by teknorix on Oct 6, 2017
Latest reply on Jun 13, 2018 by mnielsen-esristaff

Am currently using the Esri.ArcGISRuntime.Xamarin.iOS v100.0.0 version on the following version of Xamarin Studio for Mac(6.1.2 build 44) with Xamarin.IOS Version: & XCode Version 8.1.


I get the following Exception when attempting to load a Feature Layer by doing a LoadAsync on the ServiceFeatureTable queried from a given URL : (see enclosed log).
“Esri.ArcGISRuntimeException: Invalid JSON  at System RuntimeExceptionServices.Exception”


This only happens for certain layers, have tried validating the JSON returned from querying the layer, there seems to be no issue there. The attributes on the Layers that work and don’t work are pretty much the same.


But the thing to note here is that, the above layer in question loads up on the map fine when its saved in a GeoDatabase (for offline querying), and when queried using the GeodatabaseFeatureTable subsequently.  


Any Help on this would be much Appreciated.