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.

Runtime Support: React-Native #1254

Closed
Closed
@linonetwo

Description

@linonetwo

To use IPFS on react-native, I have done following things:

  1. download https://unpkg.com/ipfs/dist/index.js instead of install from npm
  2. import core-js to polyfill set and Symbol
  3. import react-native-browser-polyfill to polyfill self
  4. use rn-nodeify to install react-native-crypto
  5. hacks like @Override for createJSModules() causes build error with RN 4.8 PeelTechnologies/react-native-os#5
  6. still can't get it run

Dragons just come one by one, can we make it easier to use js-ipfs on react-native?

Reproducible example https://github.com/linonetwo/sermover .

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions