Get certificate fingerprint of HTTPS server on React Native
I am developing an application with React Native. I entered fingerprint and pin values statically into the application for SSL pinning. But now I need to pull them from the server. How can I do the same thing in React Native where I can pull the fingerprint in the terminal as below?