{"id":19625042,"url":"https://github.com/proxymanapp/okhttp-android-sample","last_synced_at":"2025-07-29T23:16:58.926Z","repository":{"id":109498888,"uuid":"495241206","full_name":"ProxymanApp/OKHTTP-Android-Sample","owner":"ProxymanApp","description":"A sample app that uses OKHTTP. Works with Proxyman app","archived":false,"fork":false,"pushed_at":"2025-02-10T07:49:00.000Z","size":27823,"stargazers_count":17,"open_issues_count":2,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-29T00:48:49.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProxymanApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-23T03:07:13.000Z","updated_at":"2025-07-28T23:38:32.000Z","dependencies_parsed_at":"2024-11-11T11:43:26.037Z","dependency_job_id":"72a012e8-7d85-40d2-8b4d-37ed3ca7b725","html_url":"https://github.com/ProxymanApp/OKHTTP-Android-Sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ProxymanApp/OKHTTP-Android-Sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProxymanApp%2FOKHTTP-Android-Sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProxymanApp%2FOKHTTP-Android-Sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProxymanApp%2FOKHTTP-Android-Sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProxymanApp%2FOKHTTP-Android-Sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProxymanApp","download_url":"https://codeload.github.com/ProxymanApp/OKHTTP-Android-Sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProxymanApp%2FOKHTTP-Android-Sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267779082,"owners_count":24143178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T11:39:51.218Z","updated_at":"2025-07-29T23:16:58.914Z","avatar_url":"https://github.com/ProxymanApp.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Proxyman Android Sample App\n\nThis is a sample app that demonstrates how to use the Proxyman to capture HTTP/HTTPS traffic on Android Emulators.\n\n## Prerequisites\n\n- Android Studio\n- Proxyman\n- Android Emulator\n\n## How to start on Android Emulator\n\n1. Clone the repository\n2. Open the project in Android Studio\n3. Create a new Android Emulator. Make sure it's Google APIs version, not a Play Store Version.\n4. Start the app on the Android Emulator\n5. Open Proxyman -\u003e Certificates Menu -\u003e Install Certificate on Android -\u003e Emulators…\n\n![Install Certificate on Android Emulator](./assets/Android_emulator_setup_guide.jpeg)\n\n6. Click on the Override Button\n7. Relaunch your app and test it.\n\n![Capture HTTPS Traffic on Android Emulator](./assets/Capture_HTTPS_Android_Emulator_proxyman.jpeg)\n\n8. Done\n\n## How to start on real Android device\n\n1. Clone the repository\n2. Open the project in Android Studio\n3. Open Proxyman -\u003e Certificates Menu -\u003e Install Certificate on Android -\u003e Physical Devices -\u003e Follow the steps by steps instructions\n4. Verify complete the 5th steps\n\n- Add res/xml/network_security_config.xml\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cmanifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\u003e\n\n    \u003cuses-permission android:name=\"android.permission.INTERNET\" /\u003e\n\n    \u003capplication\n        android:allowBackup=\"true\"\n        android:dataExtractionRules=\"@xml/data_extraction_rules\"\n        android:fullBackupContent=\"@xml/backup_rules\"\n        android:icon=\"@mipmap/ic_launcher\"\n        android:label=\"@string/app_name\"\n        android:roundIcon=\"@mipmap/ic_launcher_round\"\n        android:supportsRtl=\"true\"\n        android:theme=\"@style/Theme.Proxyman_Sample_OKHTTP_App\"\n        tools:targetApi=\"31\"\n        android:networkSecurityConfig=\"@xml/network_security_config\"\u003e\n        \u003cactivity\n            android:name=\".MainActivity\"\n            android:exported=\"true\"\n            android:label=\"@string/app_name\"\n            android:theme=\"@style/Theme.Proxyman_Sample_OKHTTP_App\"\u003e\n            \u003cintent-filter\u003e\n                \u003caction android:name=\"android.intent.action.MAIN\" /\u003e\n\n                \u003ccategory android:name=\"android.intent.category.LAUNCHER\" /\u003e\n            \u003c/intent-filter\u003e\n        \u003c/activity\u003e\n    \u003c/application\u003e\n\n\u003c/manifest\u003e\n```\n\n- Add to AndroidManifest.xml\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cmanifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\u003e\n\n    \u003cuses-permission android:name=\"android.permission.INTERNET\" /\u003e\n\n    \u003capplication\n        android:allowBackup=\"true\"\n        android:dataExtractionRules=\"@xml/data_extraction_rules\"\n        android:fullBackupContent=\"@xml/backup_rules\"\n        android:icon=\"@mipmap/ic_launcher\"\n        android:label=\"@string/app_name\"\n        android:roundIcon=\"@mipmap/ic_launcher_round\"\n        android:supportsRtl=\"true\"\n        android:theme=\"@style/Theme.Proxyman_Sample_OKHTTP_App\"\n        tools:targetApi=\"31\"\n        android:networkSecurityConfig=\"@xml/network_security_config\"\u003e\n        \u003cactivity\n            android:name=\".MainActivity\"\n            android:exported=\"true\"\n            android:label=\"@string/app_name\"\n            android:theme=\"@style/Theme.Proxyman_Sample_OKHTTP_App\"\u003e\n            \u003cintent-filter\u003e\n                \u003caction android:name=\"android.intent.action.MAIN\" /\u003e\n\n                \u003ccategory android:name=\"android.intent.category.LAUNCHER\" /\u003e\n            \u003c/intent-filter\u003e\n        \u003c/activity\u003e\n    \u003c/application\u003e\n\n\u003c/manifest\u003e\n```\n\n5. Start the app and test it on Proxyman\n6. Done","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproxymanapp%2Fokhttp-android-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproxymanapp%2Fokhttp-android-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproxymanapp%2Fokhttp-android-sample/lists"}