Closed rishiankush closed 7 years ago
What React and React Native version are you on?
I am using React-15.4.1 and React-native 0.39.2
Kay, can you replace that line with the following and tell me if it works?
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif
perfect it worked! I think you should update this in your library so that there should not be any conflict in the syntax for new and old versions of react-native.
here is the screenshot:
Thanks for your help!
You bet I will. That was originally the plan - see #17 - but the PR got closed and was never fixed again.
Thanks for bringing this up again.
Done! 👍
I am getting this error while installing this package.