-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes unreachableBlock gets called when internet is turned back on. #59
Comments
Do you get a follow up "reachable" at all? |
In addition can you give me a system spec so I can try and replicate it. Have you seen this comment: https://github.com/tonymillion/Reachability/blob/master/Reachability.m#L243 |
Seeing this also in simulator and multiple devices on iOS8. In |
To fix it you can use |
Yep, I'm seeing this too. Turn off Wifi and unreachableBlock gets called. Turn wifi back on and both reachableBlock and unreachableBlock get called. Unfortunately unreachableBlock get's called after. Normally I set a property here to indicate no network so it's a problem although I could work round it. Be nice to have a fix though.... |
Having the same problem in simulator 8.3 |
+1 to having this issue. +1 to resolving it by changing from |
+1 having this issue as well and it looks like this is a bug with SCNetworkReachability to me as various libraries that use it (AFNetworking,KSReachability, this one) have this same issue |
I am having the same issue is this http://stackoverflow.com/questions/19367351/tony-million-reachability-says-unreachable-when-connected
I tried to fix by using a delay for the code called in the unreachable block, but then cancel all delayed method calls if reachableBlock is called.
This is huge problem!
The text was updated successfully, but these errors were encountered: