I am using https://github.com/jamesmontemagno/ConnectivityPlugin plugin to check internet connection reachability in my xamarin forms mobile application. But it's taking some time to load. Is there any way to reduce the loading time?
if (CrossConnectivity.Current.IsConnected)
{
if (await CrossConnectivity.Current.IsRemoteReachable(new Uri("https://www.google.lk/").Authority))
{
//do some thing
}
else
{
//connection is not reachable
}
}