How to fix “Invariant Violation: requireNativeComponent: ”RCTFBLoginButton“ was not found in the UIManager.”?
问题 Let me start by saying that similar SO questions suggest the problem may be related to not having linked the lib. I've ran react-native link react-native-fbsdk again, to confirm it was indeed linked, and confirmed it was rnpm-install info Platform 'ios' module react-native-fbsdk is already linked rnpm-install info Platform 'android' module react-native-fbsdk is already linked Still, I see a couple of red indications in my XCode project for main.jsbundle , libReact.a and libRCTFBSDK.a (which I