Skip to content

Issue after upgrading react-native 0.75.2 to 0.81.4 , connection closed with reason = #53866

@sandeep14

Description

@sandeep14

Description

This is my package json ,Please let us know whats problem and how to fix it

{
"name": "Onference",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.332.0",
"@aws-sdk/lib-storage": "^3.332.0",
"@bam.tech/react-native-image-resizer": "^3.0.10",
"@react-native-assets/slider": "^11.0.11",
"@react-native-async-storage/async-storage": "^1.17.11",
"@react-native-community/blur": "^4.4.0",
"@react-native-community/netinfo": "^8.1.0",
"@react-native-community/slider": "^4.2.2",
"@react-native-documents/picker": "^10.1.6",
"@react-native-firebase/analytics": "^20.3.0",
"@react-native-firebase/app": "^20.3.0",
"@react-native-firebase/auth": "^20.3.0",
"@react-native-firebase/dynamic-links": "^20.3.0",
"@react-native-firebase/firestore": "^20.3.0",
"@react-native-firebase/messaging": "^20.3.0",
"@react-native-google-signin/google-signin": "^9.0.2",
"@react-native/gradle-plugin": "^0.81.1",
"@react-native/new-app-screen": "0.81.4",
"@react-navigation/bottom-tabs": "^6.2.0",
"@react-navigation/material-top-tabs": "^6.1.1",
"@react-navigation/native": "^6.0.8",
"@react-navigation/native-stack": "^6.5.0",
"@react-navigation/stack": "^6.1.1",
"aws-amplify": "^5.0.10",
"aws-sdk": "^2.1379.0",
"axios": "^0.26.1",
"base-64": "^1.0.0",
"buffer": "^6.0.3",
"jwt-decode": "^3.1.2",
"lottie-react-native": "^5.1.6",
"patch-package": "^6.5.0",
"qs": "^6.10.3",
"react": "19.1.0",
"react-native": "0.81.4",
"react-native-add-calendar-event": "^4.0.0",
"react-native-autolink": "^4.2.0",
"react-native-aws3": "^0.0.9",
"react-native-base64": "^0.2.1",
"react-native-blob-util": "^0.17.1",
"react-native-branch": "^6.8.0",
"react-native-calendar-events": "^2.2.0",
"react-native-compressor": "^1.12.0",
"react-native-countdown-component": "^2.7.1",
"react-native-create-thumbnail": "^2.1.1",
"react-native-device-country": "^1.1.1",
"react-native-device-info": "^14.1.1",
"react-native-device-number": "^1.0.9",
"react-native-error-boundary": "^2.0.0",
"react-native-exception-handler": "^2.10.10",
"react-native-fast-image": "^8.6.3",
"react-native-fbsdk-next": "^13.4.1",
"react-native-file-viewer": "^2.1.5",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "^2.28.0",
"react-native-htmlview": "^0.17.0",
"react-native-image-crop-picker": "^0.51.0",
"react-native-image-picker": "^8.2.1",
"react-native-image-viewing": "^0.2.2",
"react-native-linear-gradient": "^2.8.3",
"react-native-localize": "^3.5.2",
"react-native-modalize": "^2.1.1",
"react-native-onesignal": "^5.2.13",
"react-native-orientation-locker": "^1.7.0",
"react-native-otp-verify": "^1.1.8",
"react-native-pager-view": "^6.9.1",
"react-native-paper": "^5.14.5",
"react-native-parsed-text": "^0.0.22",
"react-native-permissions": "^5.4.2",
"react-native-play-install-referrer": "^1.1.9",
"react-native-pure-jwt": "^3.0.3",
"react-native-push-notification": "^8.1.1",
"react-native-razorpay": "^2.3.0",
"react-native-reanimated": "^4.1.0",
"react-native-render-html": "^6.3.4",
"react-native-rolling-bar": "^1.0.0",
"react-native-safe-area-context": "^5.5.2",
"react-native-screens": "^4.10.0",
"react-native-simple-toast": "^3.3.2",
"react-native-splash-screen": "^3.3.0",
"react-native-stopwatch-timer": "^0.0.21",
"react-native-subtitles": "^5.0.5",
"react-native-svg": "^15.13.0",
"react-native-swipe-gestures": "^1.0.5",
"react-native-tab-view": "^4.1.3",
"react-native-uuid": "^2.0.3",
"react-native-video": "^6.16.1",
"react-native-view-pdf": "^0.14.0",
"react-native-vision-camera": "^4.7.2",
"react-native-webview": "^13.16.0",
"react-native-worklets": "^0.5.1",
"react-native-youtube-iframe": "^2.4.1",
"react-redux": "^7.2.6",
"redux": "^4.1.2",
"redux-axios-middleware": "^4.0.1",
"redux-devtools-extension": "^2.13.9",
"redux-modal": "^4.0.0",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.4.1",
"socket.io-client": "^2.2.0",
"text-clipper": "^2.2.0",
"twofish": "^1.0.1",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/cli": "20.0.0",
"@react-native-community/cli-platform-android": "20.0.0",
"@react-native-community/cli-platform-ios": "20.0.0",
"@react-native/babel-preset": "0.81.4",
"@react-native/eslint-config": "^0.81.4",
"@react-native/metro-config": "^0.81.4",
"@react-native/typescript-config": "0.81.4",
"@types/jest": "^29.5.13",
"@types/react": "^19.1.0",
"@types/react-test-renderer": "^19.1.0",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"prettier": "^2.8.8",
"react-test-renderer": "19.1.0",
"typescript": "5.8.3"
},
"engines": {
"node": ">=20"
},
"packageManager": "[email protected]"
}

Steps to reproduce

do steps as per react-naitve upgrade help
and first luch giving such issue

React Native Version

0.81.4

Affected Platforms

Runtime - Android

Output of npx @react-native-community/cli info

info Fetching system and libraries information...
System:
  OS: Windows 11 10.0.22631
  CPU: (12) x64 13th Gen Intel(R) Core(TM) i5-1335U
  Memory: 3.15 GB / 15.69 GB
Binaries:
  Node:
    version: 22.17.0
    path: D:\software\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 10.9.2
    path: D:\software\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: Not Found
  Visual Studio: Not Found
Languages:
  Java: 17.0.15
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.0
    wanted: 20.0.0
  react:
    installed: 19.1.0
    wanted: 19.1.0
  react-native:
    installed: 0.81.4
    wanted: 0.81.4
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

coonection closed with reason =""

MANDATORY Reproducer

https://drive.google.com/file/d/1gQX6eLbWyLgPexT_G-OYPQQ3om-_s8ts/view?usp=sharing

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: AttentionIssues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.Resolution: Cannot Reproduce

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions