When using onPress() to get details, the request status stays in opened status (i.e. request.readyState === 1 for all the time).
If I use same url with cur -X url, then it works correctly, returning right result. Is there any bug with onPress() function?
Additional context
Library Version: [e.g. 1.4.2]
React Native Version: [e.g. 0.62.2]
[x] iOS
[ ] Android
[ ] Web
If you are using expo please indicate here:
[x] I am using expo
Add any other context about the problem here, screenshots etc
Describe the bug
When using
onPress()
to get details, the request status stays in opened status (i.e.request.readyState === 1
for all the time). If I use same url withcur -X url
, then it works correctly, returning right result. Is there any bug withonPress()
function?Additional context
Library Version: [e.g. 1.4.2]
React Native Version: [e.g. 0.62.2]
[x] iOS
[ ] Android
[ ] Web
If you are using expo please indicate here:
Add any other context about the problem here, screenshots etc