frw / react-native-ssl-public-key-pinning

Simple and secure SSL public key pinning for React Native. No native configuration needed, set up in <5 minutes.
MIT License
163 stars 13 forks source link

Unable to use in Ionic React #366

Closed manhtruongwang closed 1 month ago

manhtruongwang commented 1 month ago

Is there anyway I can implement this in an Ionic React app? Installing via npm won't work without --legacy-peer-deps, and implement it via fetch will break the applications

frw commented 1 month ago

Hi @manhtruongwang

Unfortunately, this library only supports React Native. Ionic is an entirely different framework with its own ecosystem of libraries and packages. You will need to use an Ionic specific library to implement SSL pinning (e.g. https://ionic.io/docs/ssl-pinning).