Sunday, December 20, 2015

How to Proxying Charles on Android or iOS Devices

Charles Proxy Configuration
Android:
  1. Enter Settings.
  2. Tap on Wi-Fi
  3. Tap & hold on the network you are connected.
  4. Tap Modify network.
  5. Check the Show advanced options.
  6. From Proxy settings dropdown, choose Manual.
  7. Set your system IP as Proxy hostname.
  8. Set a port that you use in charles tool to log (default: 8888).
  9. Save & Start your app.

iOS:
Enter Settings.
Tap on Wi-Fi.
Scroll down to see Proxy settings.
Tap on Http Proxy.
Set your system IP as Proxy hostname.
Set a port that you use in charles tool to log (Default: 8888).

NOTE:
- After starting app, application Charles running in PC/Mac will show warning for connection. Allow connection from the device. Application logs will appear in charles.
- If Charles show the API calls as Unknown, Install SSL certification file by hitting the link http://charlesproxy.com/getssl in mobile device and install the certificate file.
- After installing certificate right click on the required API host name and select Enable SSL proxying to view the data transaction of the API call.
- Make sure client (mobile) and charles proxy tool in system are connected to same Wifi network
- System IP can be found in two ways
1. Open terminal and enter ipconfig - Windows
enter ifconfig - iOS
2. In charles tool click on Help and select Local IP address

No comments:

Post a Comment

Run Android Apps in Chrome Browser in Windows, OS X and Linux

Unofficially, now it is possible to run any Android app in Chrome browser on Windows, Mac and Linux!! Here is how you can make it w...