-
Notifications
You must be signed in to change notification settings - Fork 134
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: Redefinition of 'RCTMethodInfo' when including ReactNativeExceptionHandler.h #46
Comments
Does this issue still persists or were you able to find a fix for it @thatjuan ? I am unable to replicate this :/ |
I had to continue using a custom version with this change: It's almost as my codebase somehow has both |
I also had this issue and was able to solve it by using thatjuan's commit. Would it be possible to get that into the main branch, or would it be somehow harmful? |
This appears to be the accepted fix for this issue: a7ul#46 per facebook/react-native#15775 (comment) and other posts in the same thread.
This will be fixed in v2.7.5 |
When I include
ReactNativeExceptionHandler.h
inAppDelegate.m
in order to usereplaceNativeExceptionHandlerBlock
, I get:If I go into
ReactNativeExceptionHandler.h
and change:To just:
The problem goes away.
What could this be a symptom of?
The text was updated successfully, but these errors were encountered: