Skip to content

Upgrade/react native/0.71.6 (v8 Android-only)#6119

Closed
leotm wants to merge 71 commits into
mainfrom
upgrade/react-native/0.71.6
Closed

Upgrade/react native/0.71.6 (v8 Android-only)#6119
leotm wants to merge 71 commits into
mainfrom
upgrade/react-native/0.71.6

Conversation

@leotm

@leotm leotm commented Apr 4, 2023

Copy link
Copy Markdown
Contributor

Development & PR Process

  1. Follow MetaMask Mobile Coding Standards
  2. Add release-xx label to identify the PR slated for a upcoming release (will be used in release discussion)
  3. Add needs-dev-review label when work is completed
  4. Add needs-qa label when dev review is completed
  5. Add QA Passed label when QA has signed off

Description

Draft PR to preview diff compared to main on

  • RN bumped to 0.71.6
  • .nvmrc bumped to ensure Node 16
  • original react-native-svg Metro config
  • testing all @ethereumjs/util methods and BigInt
  • other deps bumped and files updated

Screenshots/Recordings

If applicable, add screenshots and/or recordings to visualize the before and after of your change

Issue

Progresses #???

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

@jpcloureiro jpcloureiro force-pushed the upgrade/react-native/0.71.6 branch from fd9ea28 to 8b0f737 Compare April 18, 2023 16:02
leotm and others added 10 commits April 18, 2023 18:51
And fix error: method does not override or implement a method from a supertype (@OverRide outside mReactNativeHost)

Otherwise Android runs JSC failing at runtime with 1n or BigInt(1) as expected: No identifiers allowed directly after numeric literal x2 no stack x2 (emu stacktrace, not Metro)
patch-package react-native-v8 creates 271 diffs after no changes, so this excludes those diffs

Fix pod install:

[!] CocoaPods could not find compatible versions for pod "RNV8":
  In Podfile:
    RNV8 (from `../node_modules/react-native-v8`)

Specs satisfying the `RNV8 (from `../node_modules/react-native-v8`)` dependency were found, but they required a higher minimum deployment target.

Better solution would be a PR like:
Kudo/react-native-v8#172
- Fix indentation
- Unify tabs to spaces
- Remove trailing spaces
@leotm leotm changed the title Upgrade/react native/0.71.6 Upgrade/react native/0.71.6 (v8 Android-only) May 2, 2023
@leotm

leotm commented May 2, 2023

Copy link
Copy Markdown
Contributor Author

Closing in favour of

@leotm leotm closed this May 2, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators May 2, 2023
@leotm

leotm commented May 2, 2023

Copy link
Copy Markdown
Contributor Author

nb: Android V8 slow UI issue resolved now in v8-android-jit@11.1000.3 cc @jpcloureiro

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants