Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross-fetch does not seem to work with react-native-debugger when "Enable Network Inspect" is on #71

Open
rynop opened this issue Aug 10, 2020 · 0 comments

Comments

@rynop
Copy link

rynop commented Aug 10, 2020

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].

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: jhen0409/react-native-debugger#440 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant