margelo / react-native-quick-crypto

⚡️ A fast implementation of Node's `crypto` module written in C/C++ JSI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-quick-crypto package is not supported in Expo Go

Gongamax opened this issue · comments

Hey, Im developing a React Native dapp with Expo, for that im using metamask SDK that requires the use of a crypto library and I found react-native-quick-crypto very interesting, with this the Expo Go app does not allow me to use your library to use it normally:

ERROR Error: react-native-quick-crypto is not supported in Expo Go! Use EAS (expo prebuild) or eject to a bare workflow instead., js engine: hermes at ContextNavigator

Will the normal support for the app come soon?

For any serious app you're going to have to use development builds. See the expo docs on this topic: https://docs.expo.dev/develop/development-builds/introduction/

Beyond "Hello, world!" and prototypes, you'll quickly encounter limitations and need to build a development build of your app. For example, the Expo Go sandbox environment is limited to only the native packages included in the Expo SDK, while you can include any library in a development build because it's just a normal native app.

You can think of a development build as your fully customizable version of Expo Go, tailored specifically for your project. Or, conversely, Expo Go is a development environment with a preset runtime.

Got it! Thanks for your answer!