I am unable to load a map layer using ArcGIS Map 200.0 for MAUI under Android, while behind a corporate proxy.
I have configured AndroidWifi to use the proxy, and verified it works by using Chrome to load a remote website. Additionally, I can fetch the services json using .Net's HttpClient without issue (ie: https://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer?f=pjson).
However, attempting to load a layer will throw an exception:
System.Net.Sockets.SocketException (0xFFFDFFFF): hostname nor servname provided, or not known
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
This exception does not occur if I run the same code (and connect to the same service) when NOT behind a proxy. The layer will load without issue.
Even though it appears that .Net works with the configured proxy settings, my assumption is that I am not configuring ArcGIS Maps to use the proxy somehow.
Could someone enlighten me on how to do this? I have searched the documentation, but appear to be missing it entirely.
(Interestingly, I do not have this issue using ArcGIS Maps with .Net 6.0 under Windows and WPF.)