react-native-bluetooth-state
react-native-bluetooth-state copied to clipboard
Build fails on iOS because of RCTBridgeModule.h
I tried building the app and it failed on BridgeModule's import. I found a fix for this online, but I think this should be included in the module.
Fix: replace
#import "RCTBridgeModule.h"
with
#if __has_include(<React/RCTBridgeModule.h>)
#import <React/RCTBridgeModule.h>
#else
#import "RCTBridgeModule.h"
#endif