react-native-app-security icon indicating copy to clipboard operation
react-native-app-security copied to clipboard

Listener for SSL pinning errors

Open leabaertschi opened this issue 8 months ago • 5 comments

Hi,

we'd like to know if some request is failing due to an issue with SSL pinning. As far as I've seen the error callback parameter in react-natives XMLHttpRequest does not look any different whether you request from a non-existing domain or there's an issue with the certificate. Would it be possible to implement some listener or something similar that would be called if there is an issue with the pinned certificates?

Kind regards, Lea

leabaertschi avatar Jun 25 '24 11:06 leabaertschi