Skip to content

Commit

Permalink
make compatible with rn 48.1+
Browse files Browse the repository at this point in the history
this would not build in react-native 48.1+

its related to this facebook/react-native#15775
  • Loading branch information
spearmootz authored Dec 7, 2017
1 parent 24fd44b commit f4ea405
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RNPinch/RNPinch.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
//

#import <Foundation/Foundation.h>
#if __has_include(<React/RCTBridgeModule.h>)
#import "React/RCTBridgeModule.h"
#import "React/RCTLog.h"
#else
#import "RCTBridgeModule.h"
#import "RCTLog.h"
#endif

@interface RNPinch : NSObject <RCTBridgeModule>

Expand Down

0 comments on commit f4ea405

Please sign in to comment.