Skip to content

Commit

Permalink
Fix import of gesture handler headers on iOS (software-mansion#2815)
Browse files Browse the repository at this point in the history
## Description

I just changed the way of importing gesture handler headers because in some configurations these were unknown.

Fixes software-mansion#2740
  • Loading branch information
piaskowyk authored and aeddi committed Mar 22, 2022
1 parent 867399f commit 209c50d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ios/native/NativeMethods.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#import <Foundation/Foundation.h>
#import <RNGestureHandlerStateManager.h>
#import <React/RCTUIManager.h>
#include <string>
#import <string>
#include <utility>
#include <vector>
#import <vector>
#import "RNGestureHandlerStateManager.h"

namespace reanimated {

Expand Down
2 changes: 1 addition & 1 deletion ios/native/NativeProxy.mm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#import <React/RCTUIManager.h>
#import <folly/json.h>

#import <RNGestureHandlerStateManager.h>
#import "LayoutAnimationsProxy.h"
#import "NativeMethods.h"
#import "NativeProxy.h"
Expand All @@ -12,7 +13,6 @@
#import "REAModule.h"
#import "REANodesManager.h"
#import "REAUIManager.h"
#import "RNGestureHandlerStateManager.h"

#if __has_include(<reacthermes/HermesExecutorFactory.h>)
#import <reacthermes/HermesExecutorFactory.h>
Expand Down

0 comments on commit 209c50d

Please sign in to comment.