diff --git a/RNBluetoothState.h b/RNBluetoothState.h index b89cabf..7dc5d47 100644 --- a/RNBluetoothState.h +++ b/RNBluetoothState.h @@ -1,4 +1,8 @@ +#if __has_include() +#import +#else #import "RCTBridgeModule.h" +#endif @interface RNBluetoothState : NSObject diff --git a/RNBluetoothState.m b/RNBluetoothState.m index 0f70d58..c357ad4 100644 --- a/RNBluetoothState.m +++ b/RNBluetoothState.m @@ -1,7 +1,7 @@ #import #import "RNBluetoothState.h" -#import "RCTEventDispatcher.h" +#import @interface RNBluetoothState()