ConnectivityPlugin icon indicating copy to clipboard operation
ConnectivityPlugin copied to clipboard

IsRemoteReachable(Uri uri, TimeSpan timeout) - timeout parameter is ignored on Android device

Open abrasat opened this issue 7 years ago • 6 comments

I am testing if a server is reachable in Internet by using this call:

var  inetConnOk = await currConnectivity.IsRemoteReachable(serverUri, new TimeSpan(0, 0, 3));

On an Android tablet which does not have Internet access, it takes more than 10 seconds until the function returns the "false" value, instead of returning after the max. 3 seconds set as timeout.

abrasat avatar Nov 13 '17 17:11 abrasat