infinitered / infinitered/reactotron

TypeError: (0, _expoModulesCore.requireNativeModule) is not a function. (In '(0, _expoModulesCore.requireNativeModule)('ExpoCrypto')', '(0, _expoModulesCore.requireNativeModule)' is undefined)

Open
#1,250 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.6k
Forks
972
PR merge metrics
No merged PRs in 30d

Description

{
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"ios": "react-native run-ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@expo/vector-icons": "^12.0.0",
"@react-native-async-storage/async-storage": "~1.15.0",
"@react-native-community/netinfo": "7.1.3",
"@react-native-masked-view/masked-view": "0.2.6",
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/drawer": "^6.4.1",
"@react-navigation/native": "^6.0.10",
"@react-navigation/stack": "^6.2.1",
"expo": "^44.0.0",
"expo-apple-authentication": "~4.1.0",
"expo-application": "~4.0.0",
"expo-asset": "~8.4.3",
"expo-barcode-scanner": "~11.2.0",
"expo-blur": "~11.0.0",
"expo-constants": "~13.0.1",
"expo-device": "~4.1.0",
"expo-google-app-auth": "~8.3.0",
"expo-location": "~14.0.1",
"expo-modules-core": "^0.6.5",
"expo-permissions": "~13.1.0",
"expo-splash-screen": "~0.14.1",
"expo-status-bar": "~1.2.0",
"expo-updates": "~0.11.7",
"prop-types": "^15.7.2",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-dropdown-menu": "^2.0.0",
"react-native-elements": "^3.4.1",
"react-native-expo-cached-image": "^1.3.1",
"react-native-expo-image-cache": "^4.1.0",
"react-native-fast-image": "^8.3.4",
"react-native-gesture-handler": "~2.1.0",
"react-native-material-dropdown": "^0.11.1",
"react-native-multiple-select": "^0.5.6",
"react-native-picker-select": "^8.0.4",
"react-native-reanimated": "~2.3.1",
"react-native-safe-area-context": "3.3.2",
"react-native-safe-area-view": "^1.1.1",
"react-native-screens": "~3.10.1",
"react-native-simple-dialogs": "^1.4.0",
"react-native-star-rating": "^1.1.0",
"react-native-toast-message": "^1.4.9",
"react-native-vector-icons": "^8.1.0",
"react-native-web": "0.17.1",
"react-navigation": "^4.4.4",
"react-redux": "^7.2.4",
"redux": "^4.1.0",
"sentry-expo": "^4.0.0",
"expo-crypto": "~10.1.1"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "7.14.0",
"@react-native-community/eslint-config": "2.0.0",
"babel-jest": "26.6.3",
"eslint": "7.14.0",
"jest": "26.6.3",
"metro-react-native-babel-preset": "0.64.0",
"react-test-renderer": "17.0.1"
},
"rnpm": {
"assets": [
"./assets/fonts"
]
},
"private": true,
"name": "",
"version": "1.0.18"
}

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Expo Crypto error with the listed React Native, Expo, expo-modules-core, and expo-crypto versions. Trace where requireNativeModule is loaded and verify the ExpoCrypto call works on the affected platform; done means the reported TypeError no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.