React Native, starting with version 0.49, raises this error if you try to call requireNativeComponent() for the same component more than once. Even if they are called from different modules.
I had a similar problem with the custom view of MyCustomView . So I just wrapped it in one module:
// MyCustomView.js import {requireNativeComponent} from 'react-native' const MyCustomView = requireNativeComponent('MyCustomView', null) export default MyCustomView
Although this may not be your exact case, the main reason is the same.
source share