Closed Overtorment closed 1 year ago
ok i bumped to 2.2.1 and the error is
error While trying to resolve module `tiny-secp256k1` from file `/home/ghost/Documents/BlueWallet/class/wallets/segwit-bech32-wallet.js`, the package `/home/ghost/Documents/BlueWallet/node_modules/tiny-secp256k1/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/home/ghost/Documents/BlueWallet/node_modules/tiny-secp256k1/lib/cjs/index.cjs`. Indeed, none of these files exist:
* /home/ghost/Documents/BlueWallet/node_modules/tiny-secp256k1/lib/cjs/index.cjs(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
and i think i saw a solution for that in one of the closed issues. lemme go throught them and i will get back to you...
Does react Native support WASM?
Or is this Android only?
iOS builds? I wonder why... React Native supports WASM only with iOS builds?...? That doesn't make much sense...
yeah i didnt look, apparently both builds failed. i applied a fix from https://github.com/facebook/metro/issues/815#issuecomment-1117607661 now it builds, but build crashes immediately after launch
RN doesnt support wasm afaik
Yeah, just stay on the old libraries for now.
I looked through closed issues, and saw mentions of
webpack
&asyncWebAssembly
for ReactNative, but iirc RN switched its bundler to Metro some time ago.Relevant PR: https://github.com/BlueWallet/BlueWallet/pull/5048