react-native fetch() method not working for HTTPS requests but is working with HTTP requests [Android] #25471
Labels
Bug
🌐Networking
Related to a networking API.
Platform: Android
Android applications.
Platform: Linux
Building on Linux.
Resolution: Locked
This issue was locked by the bot.
When using the
fetch()
method with HTTPS I am getting aTypeError: Network request failed
. I've tested this with different HTTP and HTTPS API's. I did test this on android only because I don't have an iOS device at the moment.Example code:
The error message:
React Native version:
fetch()
method using both HTTP and HTTPS.Describe what you expected to happen:
To get a valid response from my HTTPS call without
TypeError: Network request failed
The text was updated successfully, but these errors were encountered: