react-native-google-place-picker
react-native-google-place-picker copied to clipboard
Error Redefinition of RCTMethodInfo
I have intsalled and linked the google place picker dependancy in my react native application.
the commands are, react-native-google-place-picker react-native link react-native-google-place-picker ,
When i run by executing react-native run-ios, it fails to build and produces the following error on node_modules/react-native/React/Base/RCTBridgeModule.h file.
Redefinition of 'RCTMethodInfo'
Typedef redefinition with different types ('struct (anonymous struct at /Users/mobdev/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/include/React/RCTBridgeModule.h:52:16)' vs 'struct RCTMethodInfo')
you can see the error reports in the following image.
When i run on android, it builds successfully but ios its is not.
Environment details, react-native-cli : 2.0.1 react-native : 0.59.8 react-native-google-place-picker : 1.2.1 npm : 6.7.0 node : 11.9.0 xcode : 10.1 pod : 1.6.0
sane issue in RCTBridgeModule.h File
https://user-images.githubusercontent.com/34228088/62934916-6ae30700-bde3-11e9-9f82-827383038109.png