File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,28 @@ dependencies {
2929}
3030```
3131
32+ ### Android specific steps
33+
34+ Create a network security config file ` network_security.xml ` in your ` res/xml ` folder:
35+
36+ ``` xml
37+ <?xml version =" 1.0" encoding =" utf-8" ?>
38+ <network-security-config xmlns : android =" http://schemas.android.com/apk/res/android" >
39+ <domain-config >
40+ <domain includeSubdomains =" true" >tolgee.io</domain >
41+ <domain includeSubdomains =" true" >tolg.ee</domain >
42+ </domain-config >
43+ </network-security-config >
44+ ```
45+
46+ Add network security config to your ` AndroidManifest.xml ` :
47+
48+ ``` xml
49+ <application
50+ android : networkSecurityConfig =" @xml/network_security" > <!-- Add this line to your existing application tag -->
51+ </application >
52+ ```
53+
3254## Usage
3355
3456### Initialization
Original file line number Diff line number Diff line change @@ -30,6 +30,28 @@ dependencies {
3030}
3131```
3232
33+ ### Android specific steps
34+
35+ Create a network security config file ` network_security.xml ` in your ` res/xml ` folder:
36+
37+ ``` xml
38+ <?xml version =" 1.0" encoding =" utf-8" ?>
39+ <network-security-config xmlns : android =" http://schemas.android.com/apk/res/android" >
40+ <domain-config >
41+ <domain includeSubdomains =" true" >tolgee.io</domain >
42+ <domain includeSubdomains =" true" >tolg.ee</domain >
43+ </domain-config >
44+ </network-security-config >
45+ ```
46+
47+ Add network security config to your ` AndroidManifest.xml ` :
48+
49+ ``` xml
50+ <application
51+ android : networkSecurityConfig =" @xml/network_security" > <!-- Add this line to your existing application tag -->
52+ </application >
53+ ```
54+
3355## Usage
3456
3557### Initialization
You can’t perform that action at this time.
0 commit comments