From c73e769836b68315d2d8499db582b9753efca0d5 Mon Sep 17 00:00:00 2001 From: Shamash2014 Date: Thu, 31 Jan 2019 00:18:47 +0200 Subject: [PATCH] Add fixes for latest react version --- RNBluetoothState.h | 4 ++++ RNBluetoothState.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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()