jamesmontemagno / Xamarin.Plugins

Cross-platform Native API Access from Shared Code!
MIT License
1.3k stars 380 forks source link

IsRemoteReachable don't work on iOS #281

Closed dcasbonne closed 8 years ago

dcasbonne commented 8 years ago

Please take a moment to fill out the following (change to preview to check or place x in []):

This is a

Which plugin does this impact:

Version Number of Plugin: 2.1.2 Device Tested On: iPad Air 2 on iOS 9.3.1 Simulator Tested On: iPhone 6s iOS 9.3

Expected Behavior

Working method :)

Actual Behavior

When trying to reach "google.ca" result is always false. In Android everything is OK.

Steps to reproduce the Behavior

When using this code :

bool res = await CrossConnectivity.Current.IsRemoteReachable("google.ca");

res is always false. I tried with a high timeout, no changes.

Thanks!

jamesmontemagno commented 8 years ago

I have tested this out in 2.2.1 and working great.