react-native-silent-switch
react-native-silent-switch copied to clipboard
No compatible with latest RN
RN: 50.4 iOS: 11.1 silent switch: 0.1.0
Unable to build, with the following error: /project/node_modules/react-native/React/Base/RCTBridgeModule.h:54:16: Redefinition of 'RCTMethodInfo'
I just merged https://github.com/gnestor/react-native-silent-switch/pull/8. Can you try out master?
Hi, @gnestor facing same error , and additional errors also:
-
Typedef redefinition with different types ('struct (anonymous struct at /Build/Products/Debug-iphoneos/include/React/RCTBridgeModule.h:52:16)' vs 'struct RCTMethodInfo')
-
Cannot find protocol declaration for 'RCTBridgeModule'; did you mean 'RCTBridgeMethod'?
-
Reference to 'RCTBridgeModule' is ambiguous
-
No type or protocol named 'RCTTurboModuleLookupDelegate'
-
Reference to 'RCTTurboModuleLookupDelegate' is ambiguous
RN: 0.59.10 xcode: 11.2.1 silent switch: 0.1.0
Hi @vovkind, I haven't touched this repo for years and I'm looking for someone to take it over. If you are interested, please let me know.