Initially, icanhazip.com is used by the autodetection code, but https://ip-info.pts-project.org/ would give us more information, namely a country code and a country name.
That could be use to adjust the Wi-Fi settings, and maybe something like locales/timezones. There are many countries with a bunch of official languages, and a number of countries across several timezones though.
This issue is primarily about the IPv4 detection: it might be best not to expose users to third-party services, but on the flip side that'd mean making extra sure the PTS-provided service stays available over time.
Initially,
icanhazip.com
is used by the autodetection code, but https://ip-info.pts-project.org/ would give us more information, namely a country code and a country name.That could be use to adjust the Wi-Fi settings, and maybe something like locales/timezones. There are many countries with a bunch of official languages, and a number of countries across several timezones though.
This issue is primarily about the IPv4 detection: it might be best not to expose users to third-party services, but on the flip side that'd mean making extra sure the PTS-provided service stays available over time.