File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <network-security-config >
2
+ <network-security-config xmlns : tools = " http://schemas.android.com/tools " >
3
3
<!-- Ref: https://developer.android.com/training/articles/security-config.html -->
4
4
<!-- 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 >
6
13
7
14
<!-- Allow clearText traffic on some specified host -->
8
15
<domain-config cleartextTrafficPermitted =" true" >
24
31
<domain includeSubdomains =" true" >lan</domain >
25
32
<domain includeSubdomains =" true" >localdomain</domain >
26
33
</domain-config >
27
-
28
- <debug-overrides >
29
- <trust-anchors >
30
- <certificates src =" system" />
31
- <certificates src =" user" />
32
- </trust-anchors >
33
- </debug-overrides >
34
-
35
34
</network-security-config >
You can’t perform that action at this time.
0 commit comments