-
Notifications
You must be signed in to change notification settings - Fork 24.6k
Issue after upgrading React Native from 0.73.8 to 0.79.0 #50755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Tip Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - 0.79.1. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
Tip Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
@react-native-bot Still facing same error after upgarded to react native 0.79.1 If I am correct I think it might coming from - BVLinearGradient (from |
0x170bc8818 115 Control stream closed but connection is alive |
Error setting property 'colors' of BVLinearGradient with tag #4002: JSON value '' of type NSNull cannot be converted to a UIColor. Did you forget to call processColor() on the JS side? |
Hi @shubhanshubb, I think that the issue is self explanatory. BVLinearGradient is receiving a color that can't be parsed and it is converted to null. And null can't be converted to UIColor. Jumping from 0.73 to 0.79 is a big jump, and we touched colors multiple times in 6 versions. The most likely thing is that we changed an API for Colors that you were using and it's not working anymore. I suggest to:
In 6 versions, there might be a lot of other changes. The biggest is that, starting from 0.76, the New Architecture is enabled by default. So you might have some libraries that are not compatible with it. AFAIK, LinearGradient should be compatible with the New Architecture, btw. |
@cipolleschi I have find the error this all happend because of @thevsstech/react-native-skeleton . |
Description
I recently upgraded my React Native project from version 0.73.8 to 0.79.0. (with the help of React Native Upgrade Helper)
Also for ios same
Ran ./gradlew clean – worked fine
Ran npx react-native run-android – build was successful
However, after launching the app, I get the following error:
ERROR Connection terminated with Device for app='com.arpitrw.wiingytutorapp' on device='iPhone 16' with idle='true' after not responding for 60 seconds.
INFO Connection closed to device='iPhone 16' for app='com.arpitrw.wiingytutorapp' with code='1006' and reason=''.
INFO Connection closed to DevTools for app='com.arpitrw.wiingytutorapp' on device='iPhone 16' with code='1005' and reason=''.
ERROR Failed to open debugger for com.arpitrw.wiingytutorapp (iPhone 16) (React Native Bridgeless [C++ connection]): Network error
ERROR Cause: HeadersTimeoutError: Headers Timeout Error
at Timeout.onParserTimeout [as callback] (node:internal/deps/undici/undici:5975:32)
at Timeout.onTimeout [as _onTimeout] (node:internal/deps/undici/undici:2356:17)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7) {
code: 'UND_ERR_HEADERS_TIMEOUT'
}
Stack trace includes:
Any idea what could be causing this? Could it be due to an incompatible library or a breaking change in RN 0.79?
Steps to reproduce
yarn start
cd ios
pod install
Xcode
clean build folder
Build
React Native Version
0.79.0
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli info
Stacktrace or Logs
Reproducer
https://github.com/shubhanshubb/ReproducerApp
Screenshots and Videos
Image for reference
Video for refernce
Simulator.Screen.Recording.-.iPhone.16.-.2025-04-16.at.00.06.15.mp4
The text was updated successfully, but these errors were encountered: