-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partner Sites? #163
Comments
https://api.inaturalist.org/v1/sites gets us most of the way there. It's missing
@alexshepard what are "mobile country codes"? Do you mean the language code in |
There are also mobile country codes (https://en.wikipedia.org/wiki/Mobile_country_code) and country calling codes (https://en.wikipedia.org/wiki/List_of_country_calling_codes). Maybe one of them is meant by |
@viatrix is correct, the first link. Here's the PDF reference I use: On iOS we can query the CoreTelephony API to learn what carrier a user's SIM card is attached to. That carrier contains a reference to the mobile country code of origin for the carrier, which is the ITU mobile country code. In this way, we can detect the most likely "home" country for a user, even if they are traveling or on holiday, and present them with the most appropriate partner prompt when logging in. |
It would be cool the mobile apps could use the API to lookup what partner sites were available for users, rather than having to embed that data into the app, forcing an app release every time a new partner comes online or changes branding.
Partner sites would need the at least the following fields:
I think Android also sets the default bounding box for the Explore tab based on the chosen partner, so some geo information may also be needed.
The text was updated successfully, but these errors were encountered: