I'm trying to implement ssl pinning in react native project and I want to write it for Android as native.
I have read through some examples and when implementing them, I always get success, even if I give some random sha256.
Should something else needs to be changed that isn't covered in these examples? I feel like it won't check anything using this solution. Although when sha is missing, it will crash, so something is happening there.
Anyone have some ideas where to look? I use simple fetch for requests.
One example I used was this: https://itnext.io/react-native-security-ssl-pinning-cde086210d58