Skip to content

Fix iOS header import with React Native 0.88 - #81

Merged
roryabraham merged 1 commit into
mainfrom
rory/fix-rn088-ios-header
Nov 26, 2026
Merged

roryabraham merged 1 commit into
mainfrom
rory/fix-rn088-ios-header

Conversation

@roryabraham

@roryabraham roryabraham commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explanation of Change

Import RCTUtils.h through the React namespace in HardwareShortcuts.m. React Native 0.88's prebuilt iOS framework exposes it as <React/RCTUtils.h>, so the bare import fails in both standalone and HybridApp iOS builds.

The npm workflow publishes a new patch version after merge. Once published, the App PR can bump react-native-key-command and remove its temporary patch.

Fixed Issues

For Expensify/App#108096

Tests

iOS build only.

QA

None.

AI Tests

  • HardwareShortcuts.m passed Clang syntax checking against the prebuilt RN 0.88 iOS simulator headers.
  • npm pack --dry-run confirmed that the changed source is included.
  • Full standalone and HybridApp iOS builds should be verified after the App bumps the published version.

@roryabraham
roryabraham marked this pull request as ready for review November 26, 2026 17:23
@roryabraham
roryabraham merged commit be4fafa into main Nov 26, 2026
5 of 6 checks passed
@roryabraham
roryabraham deleted the rory/fix-rn088-ios-header branch November 26, 2026 17:25
@os-botify

os-botify Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

🚀 Published to npm in 1.0.36 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants