ConnectivityPlugin
ConnectivityPlugin copied to clipboard
IsRemoteReachable(Uri uri, TimeSpan timeout) - timeout parameter is ignored on Android device
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.