Android Network Security Config doesn't works

I want to my application can access only to one sub-domain and do certificate pinning on connection to this url. I have setup Network Config since my minSDK 24.

Here is my Network Config:

<?xml version="1.0" encoding="utf-8"?>
    <domain includeSubdomains="true"></domain>
        <pin digest="SHA-256">someWeOnkw7HXWyfGtCNfxcodeWGe96drme7CKNE=</pin>
        <!-- backup pin -->
        <pin digest="SHA-256"somexBsOVe1PQRwOsHsw3bsGT2VzIqz5K+codews=</pin>

And in AndroidManifest under android:networkSecurityConfig="@xml/network_security_config"

When I changed my base url to different one, not even https. It's still working.