Broken HostnameVerifier for SSL

App is allowing All Hostnames, it does not verify if the certificate is issued for the URL that connecting to. For example, when a client connects to, it will accept a server certificate issued for
is there any way i can verify the hostname in expo?
please help me to solve this problem.