Development Proxy (Flutter and IOS)

common proxy setting in developing IOS using Flutter

Development Proxy (Flutter and IOS)
Photo by Josh Calabrese / Unsplash

replace PROXY_IP and PROXY_PORT accordingly



gem install -p http://PROXY_IP:PROXY_PORT package_name



org.gradle.jvmargs=-DsocksProxyHost=PROXY_IP -DsocksProxyPort=PROXY_PORT

network error

Steps to identify if it is a configuration error or network issue.

  1. Make sure the proxy is functioning.
    • switch Proxy provider
    • access other services to verify
  2. If the network error is consistent, it is likely a configuration issue.
    • check if the tool has a dedicated proxy setting
  3. If network error is not consistent and interruption happens randomly during the process, likely the network is not stable.
    • perform the action multiple times, it shall progress gradually
    • or switch to a stable proxy

Flutter Proxy

follows the system proxy setting, restart IDE after the configuring system proxy

export http_proxy=""
export https_proxy=""
export HTTP_PROXY=""
export HTTPS_PROXY=""