I am trying to debug an app on the Google Playstore so that I can see the requests that it is sending out. I've set up Charles Proxy on my computer to help me do so, but I am having issues with viewing requests sent out with https. My steps are listed below.
My Computer:
Manjaro Linux
My Phone:
Google Pixel 4a
Android 11
Not rooted
My Settings:
Using Charles v4.6.1
Proxy Settings
SSL Proxying Settings
My Access Control Setting's contain my phone's IP.
My Phone Settings:
Proxy Settings
Certificate
Here are my steps to allow the app use SSL through charles:
- Download the app from the Google Playstore.
- Find the apk and transfer it to my PC, and then uninstall the app through the Google Playstore.
- Decompile the apk using Apktool from XDA Forums.
- According to this and this, I need add the following lines below inside
<network-security-config>
inside the network security xml.
<debug-overrides>
<trust-anchors>
<certificates src="user"/>
</trust-anchors>
</debug-overrides>
- The AndroidManifest.xml already follows the required changes, so I don't make any changes there.
- I compile the decompiled contents into an apk.
- I sign the built apk with Uber Apk Signer.
- I transfer the built and signed apk to my phone, and install it.
I do not get any errors at any step though this list.
Here is a screenshot of my view in Charles.
Thank you in advance, and please let me know if you need any more details.