joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.8k stars 767 forks source link

'trusty' broken in React-Native 0.72.x #850

Open idrakimuhamad opened 9 months ago

idrakimuhamad commented 9 months ago

After upgrading React-Native to 0.72.3, I'm unable to access self signed url anymore even with using 'trusty'.

I've reported it on React-Native repo.

https://github.com/facebook/react-native/issues/38724

I even tried patching RN's RCTHTTPRequestHandler to trust the server cert. This working prior to 0.72, eg 0.71.12. Something in the upgrade probably doing this. Even libraries that use AFNetworking affected.

Repro

https://github.com/idrakimuhamad/repro-expo-ssl-self-sign