-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[js/rn] Supoort New Architecture #16669
Open
jhen0409
wants to merge
48
commits into
microsoft:main
Choose a base branch
from
mybigday:jhen-rn-new-arch
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 32 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
2354db1
TS: define NativeOnnxruntimeSpec
jhen0409 209b91f
setup codegen
jhen0409 efce8ed
Android: Split module implementation from oldarch/newarch
jhen0409 f176211
Bump @types/react-native to 0.71.3
jhen0409 70daa8d
Ignore unicorn/filename-case for NativeOnnxruntimeSpec
jhen0409 39dab48
Android: Fix incorrect dir path
jhen0409 8485286
E2E: Upgrade React Native to v0.71
jhen0409 1df0795
Android: Fix build
jhen0409 16cff1e
TS: Fix native spec
jhen0409 cff8ff2
Android: Still use legacy module for JSIHelper
jhen0409 e6f5bff
iOS: Support New Architecture
jhen0409 d99af7f
Ignore more paths
jhen0409 e0813d3
Format
jhen0409 0ce934a
Android: Fix path of E2E package name
jhen0409 b12e78d
Android: Fix OnnxruntimeSpec
jhen0409 a2f98f6
Android: Use Light style for E2E project
jhen0409 7dde3a6
Android: Fix path of E2E package name
jhen0409 e7a1c9d
Android: Always set blob module on check
jhen0409 c9e1714
Use v0.69 for native unit tests
jhen0409 61ff7ab
Android: Disable new-arch in E2E project for passed detox test
jhen0409 e4e389b
Merge branch 'main' into jhen-rn-new-arch
jhen0409 1d55dc4
TS: Move Binding types to native module spec (options remain {})
jhen0409 77f54a3
Revert unnecessary changes
jhen0409 f964488
Merge branch 'main' into jhen-rn-new-arch
jhen0409 ca38c81
iOS: Revert removed comments
jhen0409 5ba46e3
Format
jhen0409 200f14b
E2E: Remove local package links
jhen0409 7ea8b98
TS: Un-ban {} type only for NativeOnnxruntime spec
jhen0409 27d36df
Android: Revert rn_edit_text_material
jhen0409 b02c8e2
Merge branch 'main' into jhen-rn-new-arch
jhen0409 3babf7e
Merge branch 'main' into jhen-rn-new-arch
jhen0409 075770f
Merge branch 'main' into jhen-rn-new-arch
jhen0409 9479f46
Merge branch 'main' into jhen-rn-new-arch
jhen0409 99817d6
Doc: Remove unnecessary keygen step
jhen0409 4560820
Android: Move more duplicated code to Onnxruntime class
jhen0409 b50162a
Android: Use class name as 2nd arg for init ReactModuleInfo
jhen0409 ba5dc5d
Android: Fix tests
jhen0409 0b6479e
Android: Remove unnecessary code
jhen0409 8599948
iOS: Remove unnecessary patch
jhen0409 4fd5831
Android: Use 0.71 for unit tests & fix gradle build
jhen0409 93c195b
iOS: Update Podfile
jhen0409 110b381
Merge branch 'main' into jhen-rn-new-arch
jhen0409 48e0e73
Android: Fix react-android dep for RN < 0.71
jhen0409 0a1988a
Merge branch 'main' into jhen-rn-new-arch
jhen0409 5e08a9e
Merge branch 'main' into jhen-rn-new-arch
jhen0409 e1a5b8d
Merge branch 'main' into jhen-rn-new-arch
jhen0409 446b12b
Revert unnecessary deps change
jhen0409 c409719
Remove dep that added hash in lockfile
jhen0409 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
general:
I guess you mentioned that we are still using RN v0.69 for the unit tests, does it cause issue if we are using inconsistent react native versions across the project? Asking as we would really want to enable some tests to cover this new architecture, so wondering if it can cause issue when we running that in CI.
same question for the E2E test project, is it available for testing the new turbo module with the current set up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously I was not able run the
react_native/android
unit tests successfully with 0.71.x.Today I tried again, it should be easy by use
react-android
for >= 0.71:For RN project, the
react-native-gradle-plugin
should always convertedreact-native
toreact-android
, but it's not used in the unit tests.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. that's great!