input-output-hk / js-cardano-wasm

various cardano javascript using wasm bindings
MIT License
31 stars 21 forks source link

rust-cardano-crypto is used in react-nativce #35

Closed BenLakes closed 5 years ago

BenLakes commented 5 years ago

The RN project cannot run after the rust-cardano-crypto is loaded

2018-10-16 7 16 21 2018-10-16 7 16 03 Did I miss something?

vincenthz commented 5 years ago

I don't think wasm is supported on iOS and android yet, which make it using react-native difficult at the moment

nicarq commented 5 years ago

@BenLakes you shouldn’t use the wasm library in iOS and Android. WebAssembly is not supported in iOS and the compatibility in Android differs depending on the OS version.

If you still want to try it out, you should change the default package manager for Haul. It doesn’t load because the size of the wasm file is too big.

nicarq commented 5 years ago

@BenLakes in Emurgo we will release a react-native library that uses cardano-rust. If you want I can ping you here when it’s ready. it should be this or next week.

BenLakes commented 5 years ago

@nicarq Thank you. We are now anxious to use this library in the react native project. Please inform me immediately if you are ready.

nicarq commented 5 years ago

@BenLakes https://github.com/Emurgo/react-native-cardano enjoy! :)

BenLakes commented 5 years ago

@nicarq Thank you