How to use mac Charles capture app on Android and Ios phone

Abstract
Recently the company of a project, app testing service is above normal, the official service is a problem. So, what I want to grab a formal service above data, just use the Charles this tool.

Recently the company of a project, app testing service is above normal, the official service is a problem. So, what I want to grab a formal service above data, just use the Charles this tool.

First, install Charles on mac, due to the cash-strapped, I am looking for a cracked version. Activation method, which has said.
Download: Portal

Activation method:

1. 将 Charles.app 拖至 应用程序 文件夹
2. 复制 charles.jar 至 /Applications/Charles.app/Contents/Java/

Chinese garbled solution:

Contents / info.plist, find JVMOptions, add a few lines of code

<string>-Xmx512m</string> 
<string>-Dfile.encoding=UTF-8</string>

About Charles Configuration

  1. Click Proxy => Proxy Settings
  2. Port number: 8888
  3. "Enable transparent HTTP proxying" in front of the box hit the check mark

  1. 点击 Proxy => SSL Proxying Settings
  2. Enable SSL Proxying check box in front of a checkmark

  1. If the https url, you need to install the certificate before they can.
    Click help => SSL proxying ==> install Charless root certificate

android phone settings

  1. The mac and mobile phones connected to the same wireless network;
  2. Set the phone's wireless network agency: to "manual", the proxy server host name is "mac ip address", the proxy server port is "8888";
  3. Download a certificate to your phone, open your mobile browser http://www.charlesproxy.com/getssl/ , click "Install" on the line.

ios and android phone settings truth

Finally, open the Charles, and then open the app you want to capture, and then you can see all kinds of requests and data sent back up.

Original: Big Box  How to use mac Charles capture app on Android and Ios phone


Guess you like

Origin www.cnblogs.com/chinatrump/p/11606322.html