Skip to content

Commit e43500d

Browse files
committed
[iOS] Remove private symbols in Expo Go
RCTKeyCommands uses iOS private symbols to hook keyboard commands. originally it's debug build only, however, we enable `RCT_DEV` in Expo Go even on release build. this change updates the functionalities for simulator build only which aligns to expo/expo#14735.
1 parent 084f1a7 commit e43500d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/React/Base/RCTKeyCommands.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#import "RCTDefines.h"
1515
#import "RCTUtils.h"
1616

17-
#if RCT_DEV
17+
#if TARGET_IPHONE_SIMULATOR
1818

1919
@interface UIEvent (UIPhysicalKeyboardEvent)
2020

0 commit comments

Comments
 (0)