I'm creating a Xamarin.Forms Portable application that runs fine in Android but always crashes in iOS.
I get this error:
System.NullReferenceException: Object reference not set to an instance of an object at App.ListJson+<GetPodcasts>d__2.MoveNext () [0x0004e]
It occurs at this piece of code, on the second line:
var httpClient = new HttpClient();
var json = await httpClient.GetStringAsync(REDACTEDSTRING).ConfigureAwait(false);
I've tried fiddling with the HttpClient implementation settings for the iOS project but still get the same error.
ConfigureAwaiting..