An open API service indexing awesome lists of open source software.

https://github.com/proxymanapp/okhttp-android-sample

A sample app that uses OKHTTP. Works with Proxyman app
https://github.com/proxymanapp/okhttp-android-sample

Last synced: 11 months ago
JSON representation

A sample app that uses OKHTTP. Works with Proxyman app

Awesome Lists containing this project

README

          

# Proxyman Android Sample App

This is a sample app that demonstrates how to use the Proxyman to capture HTTP/HTTPS traffic on Android Emulators.

## Prerequisites

- Android Studio
- Proxyman
- Android Emulator

## How to start on Android Emulator

1. Clone the repository
2. Open the project in Android Studio
3. Create a new Android Emulator. Make sure it's Google APIs version, not a Play Store Version.
4. Start the app on the Android Emulator
5. Open Proxyman -> Certificates Menu -> Install Certificate on Android -> Emulators…

![Install Certificate on Android Emulator](./assets/Android_emulator_setup_guide.jpeg)

6. Click on the Override Button
7. Relaunch your app and test it.

![Capture HTTPS Traffic on Android Emulator](./assets/Capture_HTTPS_Android_Emulator_proxyman.jpeg)

8. Done

## How to start on real Android device

1. Clone the repository
2. Open the project in Android Studio
3. Open Proxyman -> Certificates Menu -> Install Certificate on Android -> Physical Devices -> Follow the steps by steps instructions
4. Verify complete the 5th steps

- Add res/xml/network_security_config.xml

```xml







```

- Add to AndroidManifest.xml

```xml







```

5. Start the app and test it on Proxyman
6. Done