We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to use string resources inside android:networkSecurityConfig defined in AndroidManifest.xml?
android:networkSecurityConfig
I have a config file like this:
<?xml version="1.0" encoding="utf-8"?> <network-security-config> <domain-config> <domain includeSubdomains="true">mydomain.com</domain> <pin-set> <pin digest="SHA-256">@string/pin</pin> <pin digest="SHA-256">@string/pin_fallback</pin> </pin-set> <trustkit-config enforcePinning="true" disableDefaultReportUri="true"> </trustkit-config> </domain-config> </network-security-config>
but my app doesn't seem to detect resources I define in res/values/strings.xml. Hardcoding these strings works just fine though.
res/values/strings.xml
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is it possible to use string resources inside
android:networkSecurityConfig
defined in AndroidManifest.xml?I have a config file like this:
but my app doesn't seem to detect resources I define in
res/values/strings.xml
. Hardcoding these strings works just fine though.The text was updated successfully, but these errors were encountered: