How to add the URL in <domain> dynamically in network-security-config.xml file Android

1k Views Asked by At

For some reason, I need to let user input the url in runtime and let it be the whitelist url, therefore need to write it into the <domain> of network-security-config.xml. Have found similar questions, but not answers.

Thank you.

0

There are 0 best solutions below