I have one esp8266(arduino) project, at the first time, device start as a Access point, so the mobile can connect via wifi to setup my network name and password and save on the device, so the next time device can connect to the network.
So, everything is fine, i connect to access point and tested webserver and posts with mobile browser.
Now i want to migrate the post/get to xamarin forms app, but i cant post with xamarin on iphone.
HttpClient client = new HttpClient();
var result = await client.GetAsync("http://192.168.144.2/foo");
exception: "The Internet connection appears to be offline."
Obviously i dont have internet connection, just want post to access point via local address(192.168.x.x), how can i workaround.
Thanks
Edited: VS 2019 16.8.3 Xamarin forms 5.0.0.1829-pre6 Info.plist
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>