ywongweb / BlogReactNativeSSLPinning

31 stars 4 forks source link

Axios #2

Open gkasireddy202 opened 2 years ago

gkasireddy202 commented 2 years ago

Hi Team,

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

Thank you.

KornelKwiatkowski commented 2 years ago

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

gkasireddy202 commented 2 years ago

@KornelKwiatkowski Can you please check it once.

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

KornelKwiatkowski commented 2 years ago

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

gkasireddy202 commented 2 years ago

@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.

KornelKwiatkowski commented 2 years ago

Ok, thanks. I will check it.