Skip to content

Consider using https://ip-info.pts-project.org/(json) in autodetection code #16

Description

@CyrilBrulebois

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions