0

i have been using expo classic build to export apk and it has been running fine until i switched to EAS build now the apk crashes immediately after showing the splashscreen on a physical device or even emulator. I am geting these errors

  1. ReactNativeJS: TypeError: null is not an object (evaluating'n.NativeModules.RNCWebView.isFileUploadSupported')
  2. Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.
  3. A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.

I tried cross-checking the dependencies in package.json but found now issues. I also deleted the node_modules folder and re-installed all dependencies but still the same issue.

Packages.json

  "dependencies": {
    "@react-native-async-storage/async-storage": "^1.17.11",
    "@react-native-community/netinfo": "9.3.5",
    "@react-native-firebase/app": "~15.4.0",
    "@react-native-firebase/messaging": "^16.5.0",
    "@react-navigation/native": "^6.0.10",
    "@react-navigation/native-stack": "^6.6.2",
    "axios": "^1.2.2",
    "expo": "~47.0.13",
    "expo-av": "~13.0.2",
    "expo-dev-client": "~2.0.1",
    "expo-image-picker": "^14.0.2",
    "expo-linear-gradient": "^12.0.1",
    "expo-location": "^15.0.1",
    "expo-permissions": "^14.0.0",
    "expo-splash-screen": "^0.17.5",
    "expo-status-bar": "~1.4.2",
    "expo-updates": "^0.15.6",
    "expo-web-browser": "~12.0.0",
    "firebase": "^8.2.3",
    "flutterwave-react-native": "^1.0.2",
    "link": "^1.5.1",
    "lottie-react-native": "5.1.4",
    "moment": "^2.29.4",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "react-native": "0.70.5",
    "react-native-animatable": "^1.3.3",
    "react-native-btr": "^2.2.0",
    "react-native-elements": "^3.4.3",
    "react-native-modal-datetime-picker": "^14.0.1",
    "react-native-onboarding-swiper": "^1.2.0",
    "react-native-paper": "^5.1.3",
    "react-native-permissions": "^3.6.1",
    "react-native-safe-area-context": "^4.4.1",
    "react-native-screens": "~3.18.0",
    "react-native-splash-screen": "^3.3.0",
    "react-native-star-rating-widget": "^1.6.0",
    "react-native-svg": "13.4.0",
    "svgo": "^3.0.2"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "typescript": "^4.6.3"
  },
Jose_Dev
  • 11
  • 2

0 Answers0