steem-js
steem-js copied to clipboard
Steem not running in React Native environment
Expected behavior
One should be able to use the steem lib in a React Native app by just importing steem.
Actual behavior
One gets the error message Your browser does not support window.crypto.
How to reproduce
I understand that steem is using some node base libs which do not run on React Native out of the box. But a package like node-libs-react-native normally resolves the issue.
Environment information
I'm using node-libs-react-native and steem in my React Native app. You can find the code for the app on GitHub.
Hi, I've created steemJs hard fork named: "steem-js-refactored", I am not sure but probably i resolve that issue there: try to use it.
npm install steem-js-refactored
Thanks for the quick response. I will check it out.
@cutemachine @BartolomeoItaliano I introduced the steem-js-refactored package. I want to know how to solve this problem.
Hmm... I've never experienced this issue. Could you provide me steps to reproduce it? I will try to fix it for you.