I've upgraded my Xamarin Forms app from the beta version to the latest release and everything is working well except for downloading portal items on iOS. The code below is what I am using to accomplish this download. It works like a charm on Android, but on iOS the GetDataAsync call returns an empty stream. The item I am trying to download is a zip file that we uploaded to the portal as a Code Sample if that matters.
Not sure if this is an iOS bug or if there is some obscure iOS setting I need to toggle, but any help here would be greatly appreciated. Thanks ...
var item = await PortalItem.CreateAsync(PortalUser.Portal, itemId);
var outFile = File.OpenWrite(fileName);
var stream = await item.GetDataAsync();
var reader = new BinaryReader(stream);
using (var writer = new BinaryWriter(outFile))