Flutter uses Dart as thedevelopment language, but Dart SDK is not proxy-aware, which means the application doesn’t use the proxy configuration of th

Inspect Flutter HTTPS traffic

submited by
Style Pass
2024-06-28 05:00:03

Flutter uses Dart as thedevelopment language, but Dart SDK is not proxy-aware, which means the application doesn’t use the proxy configuration of the system and sends the data directly to the server. We usually set up a network proxy for Wi-Fi to intercept the traffic. Obviously, this does not work for the Flutter application.

We need to use an application called Reqable, a debugging proxy works on Windows, Mac, Linux, Android and iOS. Of course, we also need a computer and a mobile.

The principle is that the Reqable mobile app captured Flutter’s application traffic through VPN, and then forwarded to the Reqable desktop app so that we can perform traffic analysis on the computer. Unlike the Wi-Fi proxy, VPN can directly capture the IP packet from the TUN interface, including the network packet sent by Dart SDK.

First, let’s start the Reqable desktop app and complete the initialization into the home. Click on the top mobile icon to open the QR code

Leave a Comment