What is Charles Proxy?

Charles Proxy sits between your app and the Internet. All networking requests and responses will be passed through Charles Proxy, so you’ll be able to inspect and even change data midstream to test how your app responds.

How does Charles Proxy work with mobile devices?

1. Installing Charles Proxy / Proxy Setup

a) On your computer download and install Charles Proxy

 Download link - https://www.charlesproxy.com/

b) Open Charles Proxy

c) Turn off Windows/Mac Proxy. 

Menu Bar > Proxy > remove checkmark before Windows Proxy or Mac Proxy

Afterward, please verify that the following checkmarks are removed under Proxy > Proxy Settings > macOS Tab (or Windows if you are using a PC)

This step is very important, otherwise, all traffic on your computer will also be routed through Charles proxy and be included in your log files. 

d) Look up your computer's LAN IP address (For Mac and Windows)

With Windows computer, open a command prompt and run ipconfig (Video guide)

Mac, open System Preferences, Network, Active Network Adapter

Write down the IP address:     ______ . ______ . ______ . ______

e) On your iOS device open Network Settings

open Settings App
open Wi-Fi
→ tap on the (i) for the active Wi-Fi connection (named qa5 in the following screenshot)

On the next screen scroll down to the very bottom and click on Configure Proxy >

On the next screen tap on Manual

Enter the IP address of your Computer running Charles Proxy noted in Step 1e under Server and 8888 as the Port:

Afterwards click on Save in the top right corner.

f) On your computer Charles Proxy will show a Connection Attempt Popup Window

(if the request does not show by itself open Safari on your phone and try to open a website or open the Charles app on your computer)

Click Allow

Great progress! You are ready for the next step. 💪

Did this answer your question?