Closed pbattisson closed 8 years ago
@pbattisson replacing
var React = require('react-native');
var {
View,
PropTypes,
StyleSheet,
requireNativeComponent,
} = React;
with
var React = require('react-native');
var {
View,
PropTypes,
StyleSheet
} = React;
var requireNativeComponent = require('requireNativeComponent');
in Overlay.ios.js resolves this issue.
That has worked, thanks @joeferraro
Uncaught TypeError: (0 , _reactNative.requireNativeComponent) is not a function /node_modules/react-native-pager-view/lib/module/PagerViewNative.js tried above solution but no luck
Hi I am getting the following error
It seems to be that the "requireNativeComponent" call is not working. I am using ReactNative 0.11.0 and iOS 9. Any ideas on howto resolve this?