davesc63 / GeoPort

GeoPort: Your Location, Anywhere! The iOS location simulator
https://geoport.me
GNU General Public License v3.0
102 stars 9 forks source link

Feature request - Set proxy settings #32

Closed kenny12341 closed 2 months ago

kenny12341 commented 2 months ago

Add ability to set proxy settings

Currently unable to launch on work devices due to corp proxies

image
davesc63 commented 2 months ago

@kenny12341 0 will you be using "Fuel Mode" or just location spoofing I can bypass this by handling the exception. This is specific to fuel mode, but as you experience, the crash halts the entire app

I also can't accept user input in that window. So an option may be to use a config file

kenny12341 commented 2 months ago

@davesc63 Oh thanks for getting back! I was planning to use just for location spoofing mode so would be amazing to bypass this error

davesc63 commented 2 months ago

@kenny12341

Done, have added this code. Will be creating v2.3 soon. Stay tuned


    except NameResolutionError as e:
        logger.error("Error: Name resolution failed.")
        logger.error(f"API is unreachable or there was an error during the request")
        logger.error("Sorry - Fuel data is not available")
        logger.error(f"Details: {e}")
        return None```
kenny12341 commented 2 months ago

@kenny12341

Done, have added this code. Will be creating v2.3 soon. Stay tuned

    except NameResolutionError as e:
        logger.error("Error: Name resolution failed.")
        logger.error(f"API is unreachable or there was an error during the request")
        logger.error("Sorry - Fuel data is not available")
        logger.error(f"Details: {e}")
        return None```

Legend thank you!

davesc63 commented 2 months ago

@kenny12341 v2.3 released with the handling of name resolution