Sanniv Khare 6 min read

React Native 0.88 to 0.89: the app-file changes, in order

React Native 0.88 to 0.89: the app-file changes, in order

If you are moving an app from React Native 0.88.1 to 0.89, change MainActivity.kt first: the 0.89 template drops the fabricEnabled import, and 0.89 removes that property from the public Android API, so a MainActivity left on the 0.88 code no longer compiles. The rest of the upgrade is five small edits: android/build.gradle (targetSdk 37, NDK 28.2.13676358, Kotlin 2.3.21), Info.plist (RCTUseAssetCatalog), and package.json (CLI 21, one new plugin, one new script).

This guide is a diff of the @react-native-community/template packages 0.88.1 and 0.89.0-rc.3-e86e5c9 (published 23 Nov 2026), plus the public API dump that ships inside react-native 0.89.0-rc.3, and a Kotlin compile on our M1 lab Mac. React Native’s release page lists 0.89.0 final for 7 December; we will update this post with the final versions on that day.

Why we did this: our banking apps and our TV apps run React Native, and the template diff is the checklist we work from on every upgrade. The framework side of 0.89 (C++ and Objective-C changes, a clean Xcode build) is in our 0.89 rc.3 native diff; this post is only about the files in your own repository.

The five template files that change between React Native 0.88.1 and 0.89

The files to touch, in the order below.

What changed in the template

We ran npm pack on both template versions and diffed the template/ folders. Only five files differ. The Gradle wrapper (9.4.1), the Podfile, AppDelegate.swift, MainApplication.kt and settings.gradle are identical.

File Setting 0.88.1 0.89 RC
build.gradle targetSdkVersion 36 37
build.gradle ndkVersion 27.1 28.2
build.gradle kotlinVersion 2.2.0 2.3.21
MainActivity.kt delegate with fabricEnabled without
Info.plist RCTUseAssetCatalog none true
package.json CLI 20.2.0 + platform packages 21 + CLI plugin
package.json scripts none ios:clear-prebuild-caches

The full NDK versions are 27.1.12297006 and 28.2.13676358. compileSdkVersion (37), buildToolsVersion (37.0.0) and minSdkVersion (24) do not change. The same versions appear in react-native‘s own gradle/libs.versions.toml: 0.89 builds react-android with Kotlin 2.3.21 and NDK 28.2.13676358 against AGP 9.2.1, so the template is simply catching your app up with the library.

Step 1: MainActivity.kt

This is the one that breaks the build. The 0.88 template file imports a property from DefaultNewArchitectureEntryPoint:

import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled

override fun createReactActivityDelegate(): ReactActivityDelegate =
    DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)

In 0.89 the template becomes:

override fun createReactActivityDelegate(): ReactActivityDelegate =
    DefaultReactActivityDelegate(this, mainComponentName)

The reason is in the public API dump that React Native ships at ReactAndroid/api/ReactAndroid.api. Comparing 0.88.1 with 0.89.0-rc.3, the DefaultNewArchitectureEntryPoint class loses its flag getters and the flag overloads of load():

DefaultNewArchitectureEntryPoint public API in 0.88.1 and 0.89.0-rc.3

From ReactAndroid.api in the two npm packages. Only load() and releaseLevel remain.

The three-argument DefaultReactActivityDelegate constructor itself still exists in 0.89, marked deprecated with a warning. What fails is the import of fabricEnabled, because that property is gone. The same applies to code that reads turboModulesEnabled, bridgelessEnabled or concurrentReactEnabled, or calls DefaultNewArchitectureEntryPoint.load(true, true) with flags. Older apps that were upgraded step by step from 0.7x often still have one of these in MainActivity.kt or MainApplication.kt, so search for them:

grep -rn "fabricEnabled\|turboModulesEnabled\|bridgelessEnabled\|concurrentReactEnabled\|DefaultNewArchitectureEntryPoint.load(" android/app/src

Replace any load(...) with flags by load() (or by the template’s loadReactNative(this) in MainApplication.kt, which 0.88 already uses), and remove the flag from the delegate call.

What the compiler says

To be sure this is a hard break and not a warning, we created a fresh 0.89.0-rc.3 app on our M1 lab Mac (Node 24.22.3, JDK 17, Gradle 9.4.1), put the 0.88.1 template’s MainActivity.kt back in, and ran the app’s Kotlin compile. It fails on both uses of the import. With the 0.89 template file restored, the same task passes.

Kotlin compile of a React Native 0.89.0-rc.3 app with the 0.88 MainActivity.kt

Real output from our lab Mac, file paths shortened. The 40 s includes Gradle’s first configuration of the project.

Step 2: android/build.gradle

Change the three versions in the ext block:

buildscript {
    ext {
        buildToolsVersion = "37.0.0"
        minSdkVersion = 24
        compileSdkVersion = 37
        targetSdkVersion = 37
        ndkVersion = "28.2.13676358"
        kotlinVersion = "2.3.21"
    }
}

Each one means something different:

  • targetSdk 37 opts your app into the Android 17 behaviour changes. That is the line to review carefully, not just bump. Our notes on Android 17 QPR2 and SDK 37.2 and edge-to-edge since targetSdk 36 cover what we checked in our own apps. If you need more time for that review, you can leave targetSdkVersion at 36 while you take the rest of 0.89; targetSdk is your choice, compileSdk is what the library needs.
  • NDK 28.2.13676358 must be installed before the first build (sdkmanager "ndk;28.2.13676358", or Android Studio’s SDK Manager). On CI, add it to the image or cache it: the first 0.89 RC Release build on our M1 lab Mac took 16 minutes, and that included downloading this NDK. NDK r28 links native libraries with 16 KB page alignment by default, which Google Play requires for apps targeting Android 15 and later.
  • Kotlin 2.3.21 matters for native modules written in Kotlin. A Kotlin compiler can read metadata from one minor version ahead, so 0.89’s react-android (compiled with 2.3.21) needs at least Kotlin 2.2 in your app. If a library in your project pins kotlin_version itself, check that it does not force anything older.

Step 3: Info.plist

Add the new key above UILaunchStoryboardName:

<key>RCTUseAssetCatalog</key>
<true/>

With it, images under your JS assets/ folder are compiled into an asset catalog (RNAssets.bundle/Assets.car) instead of being copied as loose PNG files. We built a test app both ways this morning and wrote up the sizes and screenshots in RCTUseAssetCatalog in React Native 0.89. If you load images by file path from native code, read that post before you turn it on; otherwise it is safe to copy the template.

Step 4: package.json

"scripts": {
  "ios:clear-prebuild-caches": "rm -rf $HOME/Library/Caches/ReactNative"
},
"devDependencies": {
  "@react-native-community/cli": "21.0.0",
  "@react-native/community-cli-plugin": "0.89.0",
  "@react-native/babel-preset": "0.89.0",
  "@react-native/metro-config": "0.89.0"
}
  • Remove @react-native-community/cli-platform-android and @react-native-community/cli-platform-ios. CLI 21.0.0 (now latest on npm) lists both as its own dependencies, so you do not need them at the top level. The RC template still pins 21.0.0-alpha.1; use 21.0.0.
  • Add @react-native/community-cli-plugin at the same version as react-native (0.89.0-rc.3 until the final release).
  • Bump every other @react-native/* package to the same version as react-native, and react stays at 19.3.0.
  • The new script deletes the folder where CocoaPods keeps downloaded prebuilt React Native frameworks (ReactNativePodsUtils.shared_cache_dir() in scripts/cocoapods/utils.rb). Run it when pod install keeps using an old prebuilt core after a version change.

Step 5: install and build

npm install
cd ios && pod install && pod update React-Core-prebuilt && cd ..
cd android && ./gradlew clean && cd ..

pod install alone can keep the previous prebuilt React core; pod update React-Core-prebuilt makes it fetch the one for the new version. Then do one Release build on each platform before you look at anything else.

The order, as a checklist

  1. MainActivity.kt: remove fabricEnabled and any other entry-point flags (the build fails without this).
  2. android/build.gradle: NDK 28.2 (install it first), Kotlin 2.3.21, then targetSdk 37 when you have reviewed the Android 17 changes.
  3. Info.plist: RCTUseAssetCatalog.
  4. package.json: CLI 21, the community CLI plugin, matching @react-native/* versions, the cache script.
  5. npm install, pod install plus pod update React-Core-prebuilt, a clean Gradle build, then Release builds.

Libraries are a separate list. Two we wrote up before 0.89: Reanimated 4.7 to 4.8, and C++ modules that call the deprecated invokeJavaMethod.

Made by the team behind this post

Apps from our studio

  • Goes with this post

    Cardigami

    Pop-up greeting cards that rise out of the fold on iPhone Duo.

    iPhone · App Store

    Get
  • Goes with this post

    BMDB.fun

    Your Bollywood world at a glance, with links straight to the OTT app that streams each film.

    Android TV · Web · Mobile

    Get
  • Nix

    The Mac uninstaller that finds what the Trash leaves behind: caches, logs, derived data and saved states.

    macOS

    Get
  • OneClick QuitAll

    Quit every running app in one click. See memory and CPU first.

    macOS · Mac App Store

    Get

Need this built? Let’s talk.

We build and run apps for Mac, TV, mobile and the web, and write about what we learn.