Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Missing Stream API causes problems in ReactNative #2840

Closed
@oed

Description

@oed

I'm trying to get the ipfs-http-client running in react-native, but ran into an issue I wasn't able to easily solve. The problem stems from that the iso-stream-http uses the fetch stream API, which seems to be available in browsers, but is not in the RN implementation of fetch.

The problem is outlined in this stackoverflow post. It also seems that the RN team is not very interested in adding support for this.

I've tried various fetch replacements, but none of the seem to support the stream api. Now I'm wondering what the next step could be? Is there some other way around this perhaps? Happy to hear suggestions 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    pkg:http-clientIssues related only to ipfs-http-client

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions