Can't add network security configuration
secureITmania opened this issue · 2 comments
secureITmania commented
Issue Description
I tried to add a custom network security configuration by adding a "network_security_config.xml" file in the XML folder and defining the "android:networkSecurityConfig=@xml/network_security_config" attribute in the AndroidManifest.xml. However, I encountered an error during the build.
Local resource not defined: @xml/network_security_config, for path: res/xml/network_security_config.xml
Please help me resolve the issue.
REAndroid commented
Did you declare it on public.xml ?
secureITmania commented
Thank you. I have declared the path in the public.xml file.