BlogReactNativeSSLPinning icon indicating copy to clipboard operation
BlogReactNativeSSLPinning copied to clipboard

Axios

Open gkasireddy202 opened this issue 2 years ago • 5 comments

Hi Team,

I am using axios throughout the app.Can i use this example in my project.?

Thank you.

gkasireddy202 avatar Mar 07 '22 15:03 gkasireddy202

I have the same question. @gkasireddy202 Did you find an answer for that?

KornelKwiatkowski avatar Mar 28 '22 13:03 KornelKwiatkowski

@KornelKwiatkowski Can you please check it once.

https://github.com/nlt2390/react-native-pinning-ssl

gkasireddy202 avatar Mar 28 '22 13:03 gkasireddy202

@gkasireddy202 How should I use it in my project with axios? I can't see any info about that

KornelKwiatkowski avatar Mar 28 '22 13:03 KornelKwiatkowski

@KornelKwiatkowski isSSLValid method is returned whether your SHA-1 public key is validate or not between your app and the host.Based on the return value from isSSLValid method you can allow the allow API calls.

gkasireddy202 avatar Mar 28 '22 13:03 gkasireddy202

Ok, thanks. I will check it.

KornelKwiatkowski avatar Mar 28 '22 13:03 KornelKwiatkowski