Closed
Description
React Native version:
0.60.3
Steps To Reproduce
- upgrade react native to 0.60.3 and clean node modules and install it again
- send a request with fetch
there will be error like this:
unexpected token o in json at position 1
and I investigated for issue and it happens because in whatwg-fetch library
in line 492 support.blob
will be true and the response from xhr will be Blob
so in fetch response.json()
will fail because response is Blob not stringified json
there are some hotfixes, but I don't know exact solution for this