bitshares / bitshares/bitsharesjs
Cannot be used in "react native", will appear ”Unable to resolve module `stream`” and “can't find variable Buffer”
- Dominant language
- JavaScript
- Stars
- 96
- Forks
- 151
- Avg merge
- 7h 39m
- Merged PRs (30d)
- 2
Description
I'm working on a phone app to make "bitshares" available on the phone, but when I execute "npm install bitsharesjs," the program crashes every time I use "import {PublicKey} from / bitbitshares / s / es'".I think it may be that the "react native" running environment is inconsistent with the browser, resulting in incompatibility, which is my personal view, I hope the author can answer my question, thank you very much.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the npm install bitsharesjs setup in a React Native app and import PublicKey as described. Check the reported stream resolution and Buffer errors first; done means the import runs without either error in the phone app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100