Cannot read property 'configure' of undefined TypeError: Cannot read property 'configure' of undefined at Object.configure (http://localhost:8081/index.ios.bundle?
Errors out at:
`
var NativeModules = ReactNative.NativeModules;
var RNLinkedInSessionManager = NativeModules.RNLinkedInSessionManager;
var LinkedInSDK = {
configure: function configure(config) {
return RNLinkedInSessionManager.configure(config);
},
`
For some reason RNLinkedinSessionManager is undefined. Is this because I've Linked the project incorrectly? I added the RNLinkedInSessionManager folder from the /node_moduels/ to the Xcode project, under the project folder. I'm not sure if this is the correct location.
Cannot read property 'configure' of undefined TypeError: Cannot read property 'configure' of undefined at Object.configure (http://localhost:8081/index.ios.bundle?
Errors out at: ` var NativeModules = ReactNative.NativeModules; var RNLinkedInSessionManager = NativeModules.RNLinkedInSessionManager;
var LinkedInSDK = { configure: function configure(config) { return RNLinkedInSessionManager.configure(config); }, `
For some reason RNLinkedinSessionManager is undefined. Is this because I've Linked the project incorrectly? I added the RNLinkedInSessionManager folder from the /node_moduels/ to the Xcode project, under the project folder. I'm not sure if this is the correct location.