I have created network_security_config.xml file
<network-security-config>
<domain-config>
<domain includeSubdomains="true">api-qa.xxx.net</domain>
<pin-set >
<pin digest="SHA-256">xWyFxD64FLSsMf0qBC+xxxxxxxxxYuQl4fWLPzZXBOQ</pin>
<pin digest="SHA-256">xWyFxD64FLSsMf0qBC+xxxxxxxxxYuQl4fWLPzZXBOQ</pin>
</pin-set>
</domain-config>
</network-security-config>
I have added it to android manifest file using
android:networkSecurityConfig="@xml/network_security_config"
minSdkVersion is 24 and using Volley Library for network communication.
When I am using wrong pin i.e. some random number, still I am not getting any certificate error and it was successful connection.
Am I doing something wrong?
Thanks in Advance.