xamarin/ios-samples

Reachability sample issue

alphagamer7 opened this issue · 7 comments

Regarding this - https://github.com/xamarin/ios-samples/tree/master/Reachability

For internet connectivity check,
I have used as in the example but the event only gets fired once, from when I Connect -> Disconnect. When I reconnect back, the event doesn't get fired. Any idea why?

Simulator iOS 12.4
macOS Mojave Version 10.14.6

Thank you for your feedback!

Have you tried the sample from Apple? Does it show the same behavior?

Could you please post exact steps to reproduce your issue if so?

Also similar thing happens when using with Xamarin.Essesntials
So I tried the sample iOSReachabilityTestARC, and this was the results

Screen Shot 2019-09-07 at 8 25 20 AM

Note: Checked internet connection through wifi

I have reconnected through wifi, but it only shows local wifi connection available as shown in the screenshots

@whitneyschmidt Any updates on the issue?

Strange, I just tested it and I see wifi show up after dropping and returning.

Can you post exact steps to reproduce?

@chamons Steps to reproduce

  1. Run app with internet connection( Similar happens for xamarin.essentials as well)
  2. After app is loaded, turn wifi off
    The following screen shows
    image
  3. Turn Wifi on
    The following screen is shown. Note: no internet connection although wifi block says reachable.
    image

According to this xamarin/Essentials#855 testing in simulator doesn't yield correct results, confirmed by testing with physical device, works as expected.

testing with physical device, works as expected.

closing