Android:
- Enter Settings.
- Tap on Wi-Fi
- Tap & hold on the network you are connected.
- Tap Modify network.
- Check the Show advanced options.
- From Proxy settings dropdown, choose Manual.
- Set your system IP as Proxy hostname.
- Set a port that you use in charles tool to log (default: 8888).
- 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.
- 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
- 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