You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
Connect to router without Internet - return false (which is correct)
The same router now with Internet - still return false
I will have to turn off Wifi and turn on again - return true
Version Number of Plugin: 3.0.3
Device Tested On: Honor 6X (Android 7.0)
Simulator Tested On: Android 7.1
Version of VS: 2017 v15.5.2
Version of Xamarin: 8.1.0
Versions of other things you are using:
Steps to reproduce the Behavior
Turn on Router - connecting to Internet
Phone already connected to Router - return false
Router now with Internet
CrossConnectivity.Current.IsConnected still return false
Expected Behavior
CrossConnectivity.Current.IsConnected should return true once Router with Internet
Actual Behavior
Return false - even there is Internet already
Code snippet
public bool DoIHaveInternet()
{
if (!CrossConnectivity.IsSupported)
return true;
return CrossConnectivity.Current.IsConnected;
}
Screenshots
The text was updated successfully, but these errors were encountered:
Yes, it is only my device that reporting back wrong value and I waited for one hour it still give me wrong value. I tested with another phone, it is working fine.
Bug Information
Connect to router without Internet - return false (which is correct)
The same router now with Internet - still return false
I will have to turn off Wifi and turn on again - return true
Version Number of Plugin: 3.0.3
Device Tested On: Honor 6X (Android 7.0)
Simulator Tested On: Android 7.1
Version of VS: 2017 v15.5.2
Version of Xamarin: 8.1.0
Versions of other things you are using:
Steps to reproduce the Behavior
Turn on Router - connecting to Internet
Phone already connected to Router - return false
Router now with Internet
CrossConnectivity.Current.IsConnected still return false
Expected Behavior
CrossConnectivity.Current.IsConnected should return true once Router with Internet
Actual Behavior
Return false - even there is Internet already
Code snippet
Screenshots
The text was updated successfully, but these errors were encountered: