-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: Upgrade jsc-android
from 250230.2.1
to 294992.0.0
(@next
) for BigInt
#6314
Conversation
- react-native-community/jsc-android-buildscripts#159 (comment) - facebook/react-native#35504 (comment) - vanilla RN 0.71.6 tested working: 1n+2n, BigInt(1)+BigInt(2) - package.json>resolution not required (result: resolution field incompatible) - org.webkit:android-jsc-intl:+ required (which we're already using) 294992.0.0 prevents need for e.g. `big-integer` shim, till RN 0.71.6 shipped #6221 294992.0.0 prevents need for BE patches, till RN 0.71.6 upgrade shipped e.g. #6305 cc @Cal-L But (the catch) 294992.0.0 results in repo-specific dep build error, possibly more deps to resolve, likely via patch(es): > Configure project :react-native-reanimated No AAR for react-native-reanimated found. Attempting to build from source. Android gradle plugin: 4.2.2 Gradle: 6.9 Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings Error: Command failed: ./gradlew app:installProdDebug -PreactNativeDevServerPort=8081 OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0 Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 FAILURE: Build failed with an exception. * Where: Build file '/Users/leo/Documents/GitHub/metamask-mobile/node_modules/react-native-reanimated/android/build.gradle' line: 1059 * What went wrong: A problem occurred evaluating project ':react-native-reanimated'. > Expected directory '/Users/leo/Documents/GitHub/metamask-mobile/node_modules/react-native/../jsc-android/dist/org/webkit/android-jsc' to contain exactly one file, however, it contains no files.
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
@leotm Do we need this PR anymore? |
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
yes just to keep |
i merged in the upg (main) and started seeing a bootup runtime crash which investigated initial
glad saved this the first time, as Flipper no longer seems to catch it |
i investigated briefly in a reproducer yday https://github.com/leotm/RN0721 unable to repro above runtime crash but found the cause to be leotm/RN0721@f503de3 which got reverted during the RN upg - fixed here in 24fd57a looking good now with prev 294992.0.0 build errors (in descreiption) fixed |
jsc-android
from 250230.2.1 to 294992.0.0 (@next) for BigInt
jsc-android
from _250230.2.1_ to 294992.0.0 (@next) for BigInt
jsc-android
from _250230.2.1_ to 294992.0.0 (@next) for BigInt
jsc-android
from 250230.2.1
to 294992.0.0
(@next
) for BigInt
Kudos, SonarCloud Quality Gate passed! |
jsc-android
from 250230.2.1
to 294992.0.0
(@next
) for BigInt
jsc-android
from 250230.2.1
to 294992.0.0
(@next
) for BigInt
Closing as merging into |
Description
org.webkit:android-jsc-intl:+
required (which we're already using)294992.0.0 prevents need for an Android BigInt shim e.g.
big-integer
, till we've shipped the RN 0.71.6 Hermes upgbig-integer
shim testing onandroid-jsc
#6221 (atm blocked on my latest comment)294992.0.0 also prevents need for (further pos) BE patches, till we've shipped the RN 0.71.6 Hermes upg
But 294992.0.0 results in below build error specific to our repo,
pos more deps needing resolving/patching (whackamole'ing)
Regardless 294992.0.0 was worth this brief exploration, efforts looking best continued on
Screenshots/Recordings
If applicable, add screenshots and/or recordings to visualize the before and after of your change
Issue
Progresses #???
Checklist