React Native 0.89 adds one key to the iOS template’s Info.plist: RCTUseAssetCatalog = true. With it, every PNG or JPEG you require() from JavaScript is compiled into an asset catalog (RNAssets.bundle/Assets.car) inside the app, and the image loader looks images up by name in that catalog instead of reading loose files. The takeaway for an upgrade: new apps get it by default, existing apps keep the old behaviour until they add the key, and if you add it, images that do not come from the main JS bundle’s assets/ folder must still work through the old path, so check OTA updates and custom loaders first.
This post covers react-native 0.89.0-rc.3 against 0.88.1 (npm packages diffed), and a fresh 0.89.0-rc.3 app built twice on our M1 lab Mac with Xcode 26.2 and the iOS 26.3 Simulator, once with the key on and once off. React Native 0.89.0 final is planned for 7 December.
Why we did this: our banking and TV apps are React Native, and the upgrade to 0.89 is the one we are planning now. An image change in the template is the kind of thing that passes review and then shows a blank icon in production.
What changed between 0.88 and 0.89
Less than the release noise suggests. We diffed the npm packages of react-native 0.88.1 and 0.89.0-rc.3, and @react-native-community/template 0.88.1 and 0.89.0-rc.3-e86e5c9:
scripts/xcode/asset-catalog.shis byte for byte the same in both versions. The feature already shipped in 0.88 as an opt-in.- The asset catalog code in
React/Base/RCTUtils.mmis the same too. The only changes in that file arestd::round/std::ceiland aconstinit. - The template’s
ios/HelloWorld/Info.plistgains two lines:
<key>RCTUseAssetCatalog</key>
<true/>
So 0.89 does not change how the feature works. It changes the default for every app created from the template. If you upgrade an existing app with the Upgrade Helper, this is one of the hunks you will be asked to apply, and you can choose not to.
How it works at build time
The “Bundle React Native code and images” build phase runs react-native-xcode.sh, which sources asset-catalog.sh. That script reads the key from your Info.plist with PlistBuddy, and accepts true, yes or 1, the same values NSBundle‘s boolValue treats as true at runtime, so the build and the app cannot disagree. When the key is on:
- Metro gets an extra
--asset-catalog-destargument and writes each image as an imageset into a stagingRNAssets.xcassetsunder derived data. xcrun actoolcompiles that catalog intoRNAssets.bundle/Assets.carinside the app, with warnings and notices printed into the build log.- If
Assets.caris missing after actool, the build fails with “failed to compile image assets into RNAssets.bundle”.
Your Xcode project does not change: no new target, no new file reference. The script also removes any RNAssets.bundle left from an earlier build before it starts. Its own comment adds one warning worth repeating: after you flip the key, do a clean build, because an incremental build does not remove loose image files placed in the app by the other setting.
How it works at runtime

The lookup in react-native 0.89.0-rc.3, shortened. Anything that does not match falls through to the old loose-file path.
RCTImageFromLocalAssetURL checks the key once per launch. If it is on, RCTAssetCatalogNameForURL turns the image path into an imageset name: it takes the path under assets/, drops the extension and any @2x, @3x or @1.5x suffix, lowercases it, turns / into _ and drops other characters. In our test app assets/assets/img/tile5@2x.png became the imageset assets_img_tile5, and the catalog picks the scale by name. The catalog path is used only when all of these are true:
- the path starts with
assets/(the packager’s prefix for bundled assets); - the extension is
png,jpgorjpeg(GIF, WebP and other files stay loose files and use the old loader); - the key is on.
Everything else, including sub-bundles and OTA assets stored outside the main bundle, falls through to the old path. When the key is on and the lookup fails, you get one of two new errors, logged with RCTLogError (a red box in Debug builds):
RCTUseAssetCatalog is enabled but RNAssets.bundle was not found in the app.
Image assets must be bundled by react-native-xcode.sh, which compiles them
into the app at build time.
Image "<name>" (<url>) was not found in the asset catalog. RCTUseAssetCatalog
is enabled, so image assets must be compiled into the app's RNAssets.bundle
at build time.
The first means the app was built without the React Native bundling script running the catalog step (for example a custom bundling phase). The second means one image did not make it into the catalog. The code returns nil in both cases rather than searching the main bundle, so the image is blank instead of a wrong image.
What we measured
We created a fresh app with @react-native-community/cli 21.0.0 on react-native 0.89.0-rc.3 (React 19.3.0), added ten PNG images at @2x and @3x (20 files) shown with require(), ran pod install, and made two clean Release builds for the Simulator: first with the template’s RCTUseAssetCatalog = true, then with the key set to false. Both builds succeeded.

Contents of the built app with each setting, from our M1 lab Mac.
With the key on, the app has RNAssets.bundle (an Assets.car of 189,496 bytes plus a small Info.plist) and no assets/ folder. The build log shows Metro “Adding images to asset catalog” and the actool step. With the key off, there is no RNAssets.bundle, and Metro logs “Copying 20 asset files” into assets/assets/img/: 140,639 bytes of PNGs.
Two honest notes on size. In this small sample the compiled catalog was larger than the loose files it replaced, and the whole .app was 38,752 KB on disk with the catalog and 38,760 KB without, which is noise next to the React Native framework itself. These are Simulator builds that carry both scales, from one Mac and one run; App Store builds are thinned per device, which this test does not cover. Do not pick the setting for app size on these numbers; measure your own app’s archive if size matters to you.

The same screen from both builds on an iPhone 17 Pro Simulator with iOS 26.3: all ten images load either way.
What to check in your app before you turn it on
- OTA updates (CodePush, Expo Updates or your own). Images shipped in an update live outside the app’s main bundle, so
RCTAssetCatalogNameForURLreturnsniland they keep using the loose-file path. Test one update with a new image before release. - Custom bundling phases. If you replaced
react-native-xcode.shwith your own script, the catalog step never runs and you get the “RNAssets.bundle was not found” error on the first image. - Native code that reads images by file path. A native module that opens
assets/...pngfrom the app bundle directly will not find it any more: the file is insideAssets.car. - Image names that collide after normalising.
icons/Back.pngandicons/back.pngmap to the same imageset name. Rename one before you switch. - GIF and WebP. These keep working, as loose files, through the old loader.
- A clean build after flipping the key, locally and on CI, so old loose files do not ship as dead weight.
If any of these needs work, leave the key out (or set it to false) when you apply the 0.89 template changes, upgrade, and turn it on later as its own change. Our 0.89 rc.3 native diff and the library readiness check cover the rest of the upgrade.



