theappbusiness / android-proxy-toggle

Small application to help android developers to quickly enable and disable proxy settings
MIT License
425 stars 59 forks source link

disabling forgets the last used ip address #22

Closed amakare1 closed 4 years ago

amakare1 commented 4 years ago

I've installed the app on Pixel 4, Android 11 using the adb command The address text field doesn't appear to be editable. I can change it using adb shell settings put global http_proxy 192.168.0.110:8888

After disabling and enabling it via the toggle, it changes the label text to an IP address of another value. example: 192.128.1.215 as seen in screenshot

sometimes when it's enabled, the address value in the app remains 192.128.1.215, instead of showing 192.168.0.110 when I tap on disable, the proxy remains enabled. I confirmed it by inspecting Charles app, which continued to display traffic from the device.

android-screenshot-13

fmontesino commented 4 years ago

Hey @burgundine thanks for reporting this! I seem to me that you're using a very old commit from the app on its early stages where the proxy was hardcoded to my local IP 😅 If you're building the app directly from Android Studio, please make sure you have pulled the latest changes from the main branch. Alternatively, you can get the latest release from the download page here.

The UI should look something like this: image

Let me know if you have any issues with this version.

Happy coding!