data_connection_checker icon indicating copy to clipboard operation
data_connection_checker copied to clipboard

Don't use it on production for iOS!

Open fpv999 opened this issue 4 years ago • 8 comments

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.

fpv999 avatar Feb 23 '20 10:02 fpv999

same issue for me thanks @fpv999

sudip92 avatar Mar 02 '20 17:03 sudip92

@fpv999 Can you please elaborate on what reasons were mentioned in the Apple AppStore app approval process for rejection?

aghanti7 avatar Jul 04 '20 04:07 aghanti7

because Apple is testing apps in IPv6 network only, thus IPv4 IP addresses do not work.

fpv999 avatar Jul 04 '20 06:07 fpv999

Gotcha ... thanks

aghanti7 avatar Jul 04 '20 06:07 aghanti7

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

acoutts avatar Jul 31 '20 17:07 acoutts

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.

Neillbar avatar Mar 01 '21 18:03 Neillbar

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).

werediver avatar Apr 02 '21 14:04 werediver

https://github.com/komapeb/data_connection_checker/issues/13 has an example configuration for mixed IPv4 and IPv6 addresses

MrCsabaToth avatar Jul 29 '21 16:07 MrCsabaToth