Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

IPV6 Apple rejection #23

Open
ojoaomorais opened this issue Apr 19, 2017 · 1 comment
Open

IPV6 Apple rejection #23

ojoaomorais opened this issue Apr 19, 2017 · 1 comment

Comments

@ojoaomorais
Copy link

Hi, i have some issues with Apple using this Framework. Apple says that my application is crashing when in IPV6 netowrk. Im using Reach framework and all works fine but Apple says no. Please if someone could help me.

@MaikeMLW
Copy link

MaikeMLW commented Aug 8, 2018

According to Apple's documentation

Many apps incorrectly use these APIs to proactively check for an Internet connection by calling the SCNetworkReachabilityCreateWithAddress method and passing it an IPv4 address of 0.0.0.0, which indicates that there is a router on the network. However, the presence of a router doesn’t guarantee that an Internet connection exists. In general, avoid preflighting network reachability. Just try to make a connection and gracefully handle failures. If you must check for network availability, avoid calling the SCNetworkReachabilityCreateWithAddress method.

That would seem to be the problem here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants