-
Notifications
You must be signed in to change notification settings - Fork 5
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
ReferenceError: Property 'ReadableStream' doesn't exist #7
Comments
@sleep9 hey! If react native doesn't provide a polyfill for native web APIs, you will likely need to add a polyfill using your bundler. it looks like https://www.npmjs.com/package/react-native-polyfill-globals mentions some existing issues for this:
https://www.npmjs.com/package/web-streams-polyfill seems like a popular solution that may help out as well. NOTE: I do not have deep experience with either of the above mentioned packages and this is not an endorsement. Do you have an example repo we can use to reproduce this? Making sure we have basic instructions for getting react-native apps working would be great. |
My project is a git clone of the following repository. |
it looks like you found the required module in ipfs/helia#435, are you unblocked here? |
Hello, just testing this with React-native and getting the following promise rejection...
ReferenceError: Property 'ReadableStream' doesn't exist
Reproducible by the following code
const response = await verifiedFetch(`ipfs://bafybeihkoviema7g3gxyt6la7vd5ho32ictqbilu3wnlo3rs7ewhnp7lly`)
The text was updated successfully, but these errors were encountered: