File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <network-security-config >
2+ <network-security-config xmlns : tools = " http://schemas.android.com/tools " >
33 <!-- Ref: https://developer.android.com/training/articles/security-config.html -->
44 <!-- By default, do not allow clearText traffic -->
5- <base-config cleartextTrafficPermitted =" false" />
5+ <base-config cleartextTrafficPermitted =" false" >
6+ <trust-anchors >
7+ <certificates src =" system" />
8+ <certificates
9+ src =" user"
10+ tools : ignore =" AcceptsUserCertificates" />
11+ </trust-anchors >
12+ </base-config >
613
714 <!-- Allow clearText traffic on some specified host -->
815 <domain-config cleartextTrafficPermitted =" true" >
2431 <domain includeSubdomains =" true" >lan</domain >
2532 <domain includeSubdomains =" true" >localdomain</domain >
2633 </domain-config >
27-
28- <debug-overrides >
29- <trust-anchors >
30- <certificates src =" system" />
31- <certificates src =" user" />
32- </trust-anchors >
33- </debug-overrides >
34-
3534</network-security-config >
You can’t perform that action at this time.
0 commit comments