how to connect mitmproxy with your mobile phone code example
Example: mitmproxy on mac and android device
1- https://medium.com/@gaikwadchetan93/monitoring-modifying-android-app-network-traffic-via-mitm-proxy-part-1-886f6324f705
2- https://www.andyibanez.com/posts/intercepting-network-mitmproxy/