[GH-ISSUE #1752] Improve Android Network config #1747

Open
opened 2026-03-03 19:54:00 +03:00 by kerem · 2 comments
Owner

Originally created by @NghiaTranUIT on GitHub (Aug 24, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1752

Originally assigned to: @NghiaTranUIT on GitHub.

Description

It turns out, we don't need to include domains in network_security_config.xml

<domain-config>
        <!-- Make sure your URL Server here -->
        <domain includeSubdomains="true">your_production_domain</domain>
        <trust-anchors>
            <certificates src="user"/>
            <certificates src="system"/>
        </trust-anchors>
    </domain-config>
  • Confirmed that it's unnecessary.

Acceptance Criteria

  • Remove this part from Android Device and Android Emulator
  • Remove the Manage Domain button and its logic.
  • Use the simple one
<network-security-config>
  <debug-overrides>
    <trust-anchors>
      <!-- Trust user added CAs while debuggable only -->
      <certificates src="user" />
      <certificates src="system" />
    </trust-anchors>
  </debug-overrides>

  <base-config cleartextTrafficPermitted="true">
    <trust-anchors>
      <certificates src="system" />
      <certificates src="user" />
    </trust-anchors>
  </base-config>
</network-security-config>
Originally created by @NghiaTranUIT on GitHub (Aug 24, 2023). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1752 Originally assigned to: @NghiaTranUIT on GitHub. ## Description It turns out, we don't need to include domains in `network_security_config.xml` ``` <domain-config> <!-- Make sure your URL Server here --> <domain includeSubdomains="true">your_production_domain</domain> <trust-anchors> <certificates src="user"/> <certificates src="system"/> </trust-anchors> </domain-config> ``` - Confirmed that it's unnecessary. ## Acceptance Criteria - Remove this part from Android Device and Android Emulator - Remove the Manage Domain button and its logic. - Use the simple one ```xml <network-security-config> <debug-overrides> <trust-anchors> <!-- Trust user added CAs while debuggable only --> <certificates src="user" /> <certificates src="system" /> </trust-anchors> </debug-overrides> <base-config cleartextTrafficPermitted="true"> <trust-anchors> <certificates src="system" /> <certificates src="user" /> </trust-anchors> </base-config> </network-security-config> ```
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 24, 2023):

CleanShot 2023-08-24 at 10 46 06@2x

<!-- gh-comment-id:1690950603 --> @NghiaTranUIT commented on GitHub (Aug 24, 2023): - Beta: https://download.proxyman.io/beta/Proxyman_4.9.1_Fix_android_config.dmg - Screenshots: ![CleanShot 2023-08-24 at 10 46 06@2x](https://github.com/ProxymanApp/Proxyman/assets/5878421/01c77951-7405-47f8-93e2-4617808ce8fe)
Author
Owner

@ColtonIdle commented on GitHub (Aug 24, 2023):

cool the simpler the better.

<!-- gh-comment-id:1692268928 --> @ColtonIdle commented on GitHub (Aug 24, 2023): cool the simpler the better.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1747
No description provided.