skip to Main Content

React Native application loads then crashes even though it was working a week ago.

The error generated is:

RCTView generated view config for validAttributes does not match native, missing: onPointerOut onTouchCancel onStartShouldSetResponder onTouchStart gap onStartShouldSetResponderCapture onMoveShouldSetResponderCapture columnGap onPointerLeaveCapture onTouchEnd accessibilityCollection onResponderTerminationRequest...

I’ve tried:

  • Uninstalling the app,
  • Deleting the build folder in android folder,
  • Reinstalling node packages,
  • Resetting npm cache

The application usually just launches with no errors.

2

Answers


  1. In my case, the issue was due to version mismatches in expo, react, react-native, I have deleted all node modules and installed with appropriate versions
    enter image description here

    Login or Signup to reply.
  2. For those interested, we updated our codebase to the latest react-native version, got rid of some ios-remove-webview.js which removed a bunch of RTC*.h and RTC*.m files… and tada! The issues went away.

    I think the answer here is: update your codebase.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search