You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the OFF mobile application, we’d like to identify the user’s country based on the IP (it’s not perfect, but it’s good enough).
I know a GeoIP implementation is used on the server.
Would it be possible to expose it as an API?
The text was updated successfully, but these errors were encountered:
However, getting the public IP from Dart is impossible without an external service (ex : IPify).
Would it be possible to change the endpoint from: https://world.openfoodfacts.net/api/v3/geoip/85.214.132.117
to https://world.openfoodfacts.net/api/v3/geoip/
Basically, if the IP is missing, use the one from the request?
Hi everyone,
In the OFF mobile application, we’d like to identify the user’s country based on the IP (it’s not perfect, but it’s good enough).
I know a GeoIP implementation is used on the server.
Would it be possible to expose it as an API?
The text was updated successfully, but these errors were encountered: