react-native-silent-switch icon indicating copy to clipboard operation
react-native-silent-switch copied to clipboard

No compatible with latest RN

Open unmec opened this issue 7 years ago • 3 comments

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'

unmec avatar Dec 01 '17 05:12 unmec

I just merged https://github.com/gnestor/react-native-silent-switch/pull/8. Can you try out master?

gnestor avatar Jun 22 '19 16:06 gnestor

Hi, @gnestor facing same error , and additional errors also:

  1. Typedef redefinition with different types ('struct (anonymous struct at /Build/Products/Debug-iphoneos/include/React/RCTBridgeModule.h:52:16)' vs 'struct RCTMethodInfo')

  2. Cannot find protocol declaration for 'RCTBridgeModule'; did you mean 'RCTBridgeMethod'?

  3. Reference to 'RCTBridgeModule' is ambiguous

  4. No type or protocol named 'RCTTurboModuleLookupDelegate'

  5. Reference to 'RCTTurboModuleLookupDelegate' is ambiguous

RN: 0.59.10 xcode: 11.2.1 silent switch: 0.1.0

vovkind avatar Mar 12 '20 17:03 vovkind

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.

gnestor avatar Mar 13 '20 17:03 gnestor