React Native
Capture HTTPS Traffic from React Native app with Proxyman. Worked with iOS and Android devices/simulators
Last updated
Capture HTTPS Traffic from React Native app with Proxyman. Worked with iOS and Android devices/simulators
Last updated
If you're using React Native for the iOS app, you can simply follow the iOS Guidelines. There is no difference from the iOS native app.
Works with Expo or Metro bundler
Basically, To capture HTTP/HTTPS traffic from React Native for Android apps, it's similar to the native Android app. Please follow the Android Setup Guide:
Make sure you've followed all steps in the Guideline, especially the 5th step, where you add the res/xml/network_security_config.xml and AndroidManifest.xml
Otherwise, Proxyman could not decrypt the SSL connection.
After setting the HTTP Proxy from your Android to Proxyman, you might encounter the following error because Metro Bundle could not connect to its local server.
To fix it:
Open Proxyman -> Certificate menu -> Install for Android -> Emulator -> Click on the "Revert the Proxy"
Open Android Emulator -> Setting App -> Network -> Wifi -> Find a way to change the proxy
Change the HTTP Proxy manually by using the Proxyman IP & Port. If you don't know what the IP & Port is, open the Certificate menu -> Install for Android -> Physical Device -> In the 2nd section. Find the Server IP & Port.
Before saving, enter the localhost
in the bypass Proxy List ✅
Done
The Bridge Was shutdown
warning and the metro bundle errors are gone ✅
Open Android Physical Device -> Setting App -> Network -> Wifi -> Find a way to change the proxy
Change the HTTP Proxy manually by using the Proxyman IP & Port. If you don't know what the IP & Port is, open the Certificate menu -> Install for Android -> Physical Device -> In the 2nd section. Find the Server IP & Port.
Before saving, enter them your IP
in the bypass Proxy List ✅
Done
Read more at: https://github.com/ProxymanApp/Proxyman/issues/1407#issuecomment-1497235102