Skip to content

Upgrade example app to React Native 0.83.4 - #40

Draft
prscX with Copilot wants to merge 3 commits into
rn83from
copilot/upgrade-react-native-version
Draft

Upgrade example app to React Native 0.83.4#40
prscX with Copilot wants to merge 3 commits into
rn83from
copilot/upgrade-react-native-version

Conversation

Copilot AI commented Mar 15, 2026

Copy link
Copy Markdown

Upgrades the example project from React Native 0.77.0 to 0.83.4 (React 18 → 19), aligning all tooling to the official 0.83 template.

JS / Node

  • react-native → 0.83.4, react → 19.2.0
  • @react-native-community/cli → 20.0.0; all @react-native/* packages → 0.83.4
  • @types/react^19.2.0, react-test-renderer → 19.2.0, typescript pinned to 5.8.3
  • Node engine requirement bumped to >=20
  • tsconfig.json extends switched to bare @react-native/typescript-config — TS 5.8+ honors package.json#exports, making the /tsconfig.json sub-path unresolvable
  • jest.config.js — added transformIgnorePatterns to transpile ESM packages (react-native-notification-banner, react-native-vector-icons, react-native-image-helper); without this, Jest fails to parse their import statements

Android

  • compileSdkVersion/targetSdkVersion 35 → 36, buildToolsVersion → 36.0.0, kotlinVersion → 2.1.20
  • AGP classpath pin removed — version now managed by the RN Gradle plugin (8.12.0)
  • NDK pinned to 27.3.13750724 (matches installed SDK)
  • Gradle wrapper 8.10.2 → 9.0.0
  • JSC artifact: org.webkit:android-jsc:+io.github.react-native-community:jsc-android:2026004.+
  • MainApplication.kt rewritten to the new RN 0.83 bootstrap API:
// Before (0.77)
override val reactNativeHost: ReactNativeHost =
    object : DefaultReactNativeHost(this) { ... }
override fun onCreate() { SoLoader.init(this, OpenSourceMergedSoMapping); if (...) load() }

// After (0.83)
override val reactHost: ReactHost by lazy {
    getDefaultReactHost(context = applicationContext, packageList = PackageList(this).packages)
}
override fun onCreate() { super.onCreate(); loadReactNative(this) }
  • AndroidManifest.xml: added android:usesCleartextTraffic="${usesCleartextTraffic}" build-time placeholder

iOS

  • Podfile: removed unconditional use_frameworks! — now only activated via USE_FRAMEWORKS env var (matches 0.83 template default)
  • Gemfile: added bigdecimal, logger, benchmark, mutex_m — required by Ruby 3.4+

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • 10.1.0.1
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 1 REDACTED -o /dev/null -w %{http_code} (packet block)
  • 10.1.0.10
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 1 REDACTED -o /dev/null -w %{http_code} (packet block)
  • 10.1.0.100
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 1 REDACTED -o /dev/null -w %{http_code} --legacy-peer-de--norc /maven2/com/andr--noprofile gzip 8348�� (packet block)
  • 142.250.80.46
    • Triggering command: REDACTED, pid is -1 (packet block)
  • androidx.dev
    • Triggering command: /usr/bin/curl curl -s --connect-timeout 3 REDACTED --global credential.username /home/REDACTED/.config/composer/vendor/bin/git (dns block)
  • cache-redirector.jetbrains.com
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 5 REDACTED (dns block)
    • Triggering command: /usr/bin/curl curl -v --connect-timeout 5 REDACTED (dns block)
  • cdn.jsdelivr.net
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 5 REDACTED get --global /home/REDACTED/work/_temp/ghcca-node/node/bin/git user.name (dns block)
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 5 REDACTED assembleDebug --no-daemon ip --list otification-bann-i k/_temp/ghcca-noandroid\|agp\|tools.build curl ac8c�� --connect-timeout 10 /opt/pipx_bin/gzip e index.js --bunbash (dns block)
  • central.sonatype.com
    • Triggering command: /usr/bin/curl curl -s --connect-timeout 3 REDACTED --global credential.username nfig/composer/vendor/bin/sh (dns block)
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 3 REDACTED -o /dev/null -w %{http_code} (dns block)
  • dl.google.com
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -Dcom.android.sdklib.toolsdir=/usr/local/lib/android/sdk/cmdline-tools/latest -classpath /usr/local/lib/android/sdk/cmdline-tools/latest/lib/sdkmanager-classpath.jar com.android.sdklib.tool.sdkmanager.SdkManagerCli --list (dns block)
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -XX:MaxMetaspaceSize=512m -Xmx2048m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant (dns block)
    • Triggering command: /usr/bin/curl curl -s --connect-timeout 5 REDACTED d -n 10 (dns block)
  • googleapis.com
    • Triggering command: /usr/bin/curl curl -v --connect-timeout 5 REDACTED (dns block)
  • https://api.github.com/
    • Triggering command: /usr/bin/curl curl -s --connect-timeout 5 REDACTED (http block)
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 5 REDACTED unset --global git pull.rebase (http block)
  • https://api.github.com/repos/google/android-maven-plugin/releases
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 5 REDACTED unset --global /home/REDACTED/.dotnet/tools/git user.email (http block)
  • https://storage.googleapis.com/
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 5 REDACTED --noprofile sh ndor/bin/gzip --list_installedgrep (http block)
  • https://storage.googleapis.com/android_build/com/android/tools/build/gradle/8.12.0/gradle-8.12.0.pom
    • Triggering command: /usr/bin/curl curl -v --connect-timeout 5 REDACTED --noprofile sh /usr/local/bin/bash --list_installedls (http block)
  • jitpack.io
    • Triggering command: /usr/bin/curl curl -v --connect-timeout 5 REDACTED (dns block)
    • Triggering command: /usr/bin/curl curl -s --connect-timeout 3 REDACTED --global credential.username de/node/bin/find (dns block)
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 3 REDACTED -o /dev/null -w %{http_code} (dns block)
  • mirrors.cloud.tencent.com
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 5 REDACTED (dns block)
  • packages.atlassian.com
    • Triggering command: /usr/bin/curl curl -s --connect-timeout 5 REDACTED (dns block)
  • unpkg.com
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 5 REDACTED /home/REDACTED/.gradle/wrapper/dists/gradle-9.0.0-bin/d6wjpkvcgsg3oed0qlfss3wgl/gradle-9.0.0/lib/error_prone_annotations-2.36.0.jar /home/REDACTED/.gradle/wrapper/dists/gradle-9.0.0-bin/d6wjpkvcgsg3oed0qlfss3wgl/gradle-9.0.0/lib/failureaccess-1.0.3.jar /home/REDACTED/.gradle/wrapper/dists/gradle-9.0.0-bin/d6wjpkvcgsg3oed0qlfss3wgl/gradle-9.0.0/lib/fastutil-8.5.2-min.jar /home/REDACTED/.gradle/wrapper/dists/gradle-9.0.0-bin/d6wjpkvcgsg3oed0qlfss3wgl/gradle-9.0.0/lib/gradle-api-metadata-9.0.0.jar /home/REDACTED/.gradle/wrapper/dists/gradle-9.0.0-bin/d6wjpkvcgsg3oed0qlfss3wgl/gradle�� /home/REDACTED/.gradle/wrapper/dists/gradle-9.0.0-bin/d6wjpkvcgsg3oed0qlfss3wgl/gradle-9.0.0/lib/gradle-base-diagnostics-9.0.0.jar /home/REDACTED/.gradle/wrapper/dists/gradle-9.0.0-bin/d6wjpkvcgsg3oed0qlfss3wgl/gradle-9.0.0/lib/gradle-base-services-9.0.0.jar conf�� get --local /snap/bin/bash pull.rebase (dns block)
  • www.npmjs.com
    • Triggering command: /usr/bin/curl curl -sL --connect-timeout 3 REDACTED -o /dev/null -w %{http_code} (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: prscX <28862892+prscX@users.noreply.github.com>
Copilot AI changed the title [WIP] Update example project React Native version to latest 83 Upgrade example project to React Native 0.83.4 Mar 15, 2026
Copilot AI requested a review from prscX March 15, 2026 09:45
Co-authored-by: prscX <28862892+prscX@users.noreply.github.com>
Copilot AI changed the title Upgrade example project to React Native 0.83.4 Upgrade example app to React Native 0.83.4 Mar 15, 2026
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