data_connection_checker
data_connection_checker copied to clipboard
Don't use it on production for iOS!
In current version it will never pass Apple AppStore app approval process, because it does not work in IPv6 network. I wasted few days because of it.
same issue for me thanks @fpv999
@fpv999 Can you please elaborate on what reasons were mentioned in the Apple AppStore app approval process for rejection?
because Apple is testing apps in IPv6 network only, thus IPv4 IP addresses do not work.
Gotcha ... thanks
Is it enough to just have it ping some ipv6 DNS servers as well, or do we need to completely remove ipv4 to pass the app store?
The Google Public DNS IPv6 addresses are as follows:
2001:4860:4860::8888
2001:4860:4860::8844
it works in my production app in appstore, worked for the last 4 months never had a rejection from them on this. this is weird.
The issue can be resolved for all users of the library "by default" by updating the list of addresses with some IPv6 addresses (both Cloudflare and Google DNS support IPv6).
https://github.com/komapeb/data_connection_checker/issues/13 has an example configuration for mixed IPv4 and IPv6 addresses