Open rynop opened 4 years ago
https://github.com/jhen0409/react-native-debugger is a pretty popular tool to debug RN apps.
If you enable network inspect inside react-native-debugger and make a fetch() call via cross-fetch and the server responds with JSON, the response is converted to the literal string "[object Blob].
react-native-debugger
fetch()
cross-fetch
"[object Blob]
This issue has been brought up in react-native-debugger before, and the authors essentially say when this happens "you are referencing the wrong fetch". See: https://github.com/jhen0409/react-native-debugger/issues/440#issuecomment-574865959
https://github.com/jhen0409/react-native-debugger is a pretty popular tool to debug RN apps.
If you enable network inspect inside
react-native-debugger
and make afetch()
call viacross-fetch
and the server responds with JSON, the response is converted to the literal string"[object Blob]
.This issue has been brought up in react-native-debugger before, and the authors essentially say when this happens "you are referencing the wrong fetch". See: https://github.com/jhen0409/react-native-debugger/issues/440#issuecomment-574865959