-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Failed to install react-native-quick-crypto: React Native is not running on-device. #333
Comments
@doublelam Saved my day. I found this problem yesterday but have no idea what's going on. |
After commenting, it ran successfully and development can continue. haha. // Check if we are running on-device (JSI)
// if (global.nativeCallSyncHook == null || QuickCryptoModule.install == null) {
// throw new Error('Failed to install react-native-quick-crypto: React Native is not running on-device. QuickCrypto can only be used when synchronous method invocations (JSI) are possible. If you are using a remote debugger (e.g. Chrome), switch to an on-device debugger (e.g. Flipper) instead.');
// } |
This will all go away when we land #327 |
I should add a fix for the 0.x branch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
react-native-quick-crypto: "0.7.0-rc.9"
react-native: "074.0"
newArchEnabled=true
hermesEnabled=true
Build success, but the ts part not work, it says:
the checker seems not correct for hermes
The text was updated successfully, but these errors were encountered: