Skip to content

Commit

Permalink
feat(ios): disable RCTKeyCommands
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqingchen committed Aug 9, 2021
1 parent af94fe6 commit aed3689
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ target 'taroDemo' do
post_install do |installer|
find_and_replace("../node_modules/react-native/React/CoreModules/RCTDevLoadingView.mm","[self showOfflineMessage];","")
find_and_replace("../node_modules/react-native/React/Base/RCTDefines.h","#define RCT_DEV 0", "#define RCT_DEV 1")
find_and_replace("../node_modules/react-native/React/Base/RCTKeyCommands.m", "#if RCT_DEV", "#if DEBUG")
react_native_post_install(installer)
end
end
Expand Down
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,6 @@ SPEC CHECKSUMS:
Yoga: 575c581c63e0d35c9a83f4b46d01d63abc1100ac
ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb

PODFILE CHECKSUM: 1dd30dd3ee33447d67f92bcbe482977467b1b58b
PODFILE CHECKSUM: 5c769abd1f33a7bf4e1065a6ae14581ec11870cb

COCOAPODS: 1.10.1

0 comments on commit aed3689

Please sign in to comment.