Comments (14)
I try to reproduce this issue according your package.json
but failed. Everything works good for me.
try to remove all node_modules
and run yarn cache clean
reinstall again.
I think there is some problems with node_modules/base-x
, check out its version which in my test project is 3.0.5
(both in node_modules/base-x/package.json
and yarn.lock
) and it works well with react-native and eosjs-rn.
from eosjs-rn.
eosjsTest.zip
it's my react-native project, can you give me a hand? @JadeTao
from eosjs-rn.
check out its version which in my test project
my base-x verion is also 3.0.5
from eosjs-rn.
eosjsTest.zip
it's my react-native project, can you give me a hand? @JadeTao
hey, this projects uses eosjs
. I can run it smoothly after I switch to eosjs-rn
instead.
from eosjs-rn.
.
i can run it smoothly on IOS, but failed on Andriod
from eosjs-rn.
still ok with Android Simulator Google Nexus 5X -6.0.0- API 23
with eosjs-rn
from eosjs-rn.
can you speak chinese? use wechat? haha~ @JadeTao
from eosjs-rn.
you can send me ur wechat via email
from eosjs-rn.
you can send me ur wechat via email
ok, thanks
from eosjs-rn.
you can send me ur wechat via email
i have sent email to you but not respond, did you received the email?
from eosjs-rn.
no...and I test my google mail. it works.
from eosjs-rn.
I have figured out this problem.
It is because base-x v3.0.5
use Uint8Array#fill
method, which is not supported in JavaScriptCore
(the react native javascript engine).
And the temporary solution is:
- add
"base-x": "3.0.4"
to yourpackage.json
. - re-install node modules.
- run
npm ls base-x
. make sure there is no[email protected]
.
btw.base-x
is planning to revert to es5.
related issue:
https://github.com/uport-project/react-native-uport-connect/issues/10
cryptocoinjs/base-x#51
——
update:
i'm confused too.
i can use Uint8Array
in my own project but can't in this test project.
i don't know why.
from eosjs-rn.
core-js helps out.
just import 'core-js' in the 1st line of index.js.
from eosjs-rn.
core-js helps out.
just import 'core-js' in the 1st line of index.js.
it also helps me out. tks
from eosjs-rn.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eosjs-rn.