Skip to content

Commit

Permalink
[iOS] Remove private symbols in Expo Go
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Kudo authored and gabrieldonadel committed Oct 10, 2024
1 parent 8217ba5 commit b0f5ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/React/Base/RCTKeyCommands.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#import "RCTDefines.h"
#import "RCTUtils.h"

#if RCT_DEV
#if TARGET_IPHONE_SIMULATOR

@interface UIEvent (UIPhysicalKeyboardEvent)

Expand Down

0 comments on commit b0f5ebd

Please sign in to comment.