What tool do you use to monitor the websocket traf...
# android-studio
d
What tool do you use to monitor the websocket traffic sent/received by ktor client (android, ios)? The "App inspector" tool from IDEA/AS does not intercept non HTTP traffic
c
proxyman is the goat. and support gets back to you like same day if you have an issue.
d
@Colton Idle thanks, indeed I tried it yesterday, it captured traffic from mobile Google chrome but not from my app, anyway I think I found the issue, will check soon
c
You need to enable it for your app via Add a file res/xml/network_security_config.xml to your app: network-security-config debug-overrides trust-anchors <!-- Trust user added CAs while debuggable only --> certificates src="user" / /trust-anchors /debug-overrides /network-security-config Then add a reference to this file in your app's manifest, as follows: ?xml version="1.0" encoding="utf-8"? manifest ... application android:networkSecurityConfig="@xml/network_security_config" ... ... /application /manifest