I just wanted to let people know that I’ve released a free open source Xojo module for obtaining the geolocation based on an IP address. The module currently uses one of three 3rd party APIs (ip-api.com, ipapi.co and ipstack.com). It’s available on GitHub and its usage is documented in the README. It works asynchronously and supports both desktop and iOS projects.
Let me know if there are any issues.