TypeError: Cannot read property 'show' of undefined
at SafariViewManager.ios.js:27
at tryCallTwo (core.js:45)
at doResolve (core.js:200)
at new Promise (core.js:66)
at Object.show (SafariViewManager.ios.js:26)
at Object.Cart._this.pressHandler [as onPress] (Cart.js:77)
at Constructor.touchableHandlePress (TouchableOpacity.js:119)
at Constructor.proxiedMethod [as touchableHandlePress] (createPrototypeProxy.js:44)
at Constructor._performSideEffectsForTransition (Touchable.js:715)
at Constructor.proxiedMethod [as _performSideEffectsForTransition] (createPrototypeProxy.js:44)
I logged the NativeModules object imported from react-native and it has not SafariViewManager property (== undefined).
May be I missed something?
RN version is 0.31
I ran node node_modules/react-native/local-cli/cli.js link and did't get any effect from this.
Hi. I installed this package with
npm i --save react-native-safari-view
and then use it in my component:And get this error:
I logged the NativeModules object imported from react-native and it has not SafariViewManager property (== undefined). May be I missed something? RN version is 0.31
I ran
node node_modules/react-native/local-cli/cli.js link
and did't get any effect from this.