On trying to load Layers as per the documented code that looks something like:
Uri serviceUri = new Uri("url ");
ServiceFeatureTable featureTable = new ServiceFeatureTable(serviceUri);
FeatureLayer featureLayer= new FeatureLayer(featureTable);
await featureLayer.LoadAsync();
I get “Esri.ArcGISRuntimeException: Invalid JSON at System RuntimeExceptionServices.Exception”.
This Exception is thrown on a Android Device as well as iOS Ipad, both applications developed on Xamarin platform on the current build of Esri - v100.2.0.
If I run a query of this service in a browser it returns what seems to be correct JSON data and the layer in question here gets plotted on our web portal (via Javascript calls) too.
Could this be a build issue ?
Is this a duplicate of https://community.esri.com/thread/203099-esri-layers-not-loading-on-xamarinios-application-invalid-j... ?
Or is this a different issue?
Yes its the same issue, Posted again since it was a old thread.