The Wire · Showcase
REACT NATIVE PLUGS TWO CRITICAL CRASHES ACROSS ANDROID AND iOS
By RepoJournal · Filed · About Meta
A percentage borderRadius on Android Images and a Debug/Release build swap on iOS are both fixed overnight, clearing two silent production killers from the pipeline.
React Native shipped two urgent fixes that address crashes developers were hitting in the wild. First, setting a percentage border radius on `<Image>` (e.g. `borderRadius: '50%'`) crashed Android with a type mismatch [1] - the property setter was still typed as `Float` while JS sent strings, and reflection-based updates choked on the cast. Second, iOS builds failed mid-compile when switching between Debug and Release configurations [2], because `replace-rncore-version.js` deleted and recreated the `Pods/React-Core-prebuilt/Headers/` directory containing the `module.modulemap` that Xcode needs to resolve framework imports. The Android fix is a straightforward type correction; the iOS fix prevents that intermediate deletion entirely. Both are single-commit patches and ship now. In parallel, the team addressed a persistent Xcode 14+ warning on every clean build by adding the `:always_out_of_date` flag to the hermes-engine podspec [3], and optimized Maven repository request volume during pod install by caching tarball URL resolutions in `ReactNativePodsUtils` [4] to prevent redundant calls across multiple resolution sites.
One email a day. Unsubscribe in one click.
Keep up with Meta in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Pull the Image borderRadius fix into your next Android release facebook/react-native [immediate]
- → Test Debug/Release switching on iOS - patch clears the prebuilt headers issue facebook/react-native [immediate]
- → Monitor hermes-engine builds for the Xcode warning suppression facebook/react-native [plan]
References
- [1] fix(android): crash when setting a percentage borderRadius on Image (#57795) facebook/react-native
- [2] fix(iOS): keep prebuilt Headers/ in place on a Debug/Release swap (#57814) facebook/react-native
- [3] Set always_out_of_date on hermes-engine Replace Hermes phase (#56912) facebook/react-native
- [4] Decrease amount of requests send to Maven repos (#57765) facebook/react-native