-
Notifications
You must be signed in to change notification settings - Fork 24.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
Add sendWrappedEventToPackager to InspectorPackagerConnection #46902
Open
Kudo
wants to merge
2
commits into
facebook:0.76-stable
Choose a base branch
from
Kudo:@kudo/sendWrappedEventToPackager
base: 0.76-stable
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.
Conversation
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
facebook-github-bot
added
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Contributor
A React Native contributor.
p: Expo
Partner: Expo
Partner
labels
Oct 8, 2024
Kudo
force-pushed
the
@kudo/sendWrappedEventToPackager
branch
from
October 9, 2024 10:31
3e61a94
to
64496f2
Compare
facebook-github-bot
added
the
Shared with Meta
Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
label
Oct 9, 2024
3 tasks
3 tasks
byCedric
added a commit
to expo/expo
that referenced
this pull request
Oct 14, 2024
# Why These changes came after initial testing with Fusebox & RNDT on RN 0.76. This does NOT change the default debugger to be RNDT yet, pending facebook/react-native#46902. # How - Tweaked the "open js inspector" code to support Fusebox/RNDT better # Test Plan - `bun create expo@<canary> ./test-rndt` - `cd ./test-rndt` - `EXPO_USE_UNSTABLE_DEBUGGER=true bun expo start` - Press `j` to open RNDT # Checklist <!-- Please check the appropriate items below if they apply to your diff. This is required for changes to Expo modules. --> - [ ] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin).
Kudo
force-pushed
the
@kudo/sendWrappedEventToPackager
branch
from
October 16, 2024 16:45
e6dcd56
to
88a9f8b
Compare
@huntie rebase the pr upon 0.76-stable is smooth without conflicts, so i just set the pr's base to 0.76-stable without re-create a new pr. please help to take a look again. thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Contributor
A React Native contributor.
p: Expo
Partner: Expo
Partner
Pick Request
Shared with Meta
Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
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.
Summary:
For Expo network inspector, we need a way to send CDP events from native to metro-inspector-proxy. Since the new c++ implemented InspectorPackagerConnection, it's difficult to have a way to send the CDP events. This PR tries to expose a new
sendWrappedEventToPackager
API. I think when react-native core adding the network inspector functionality, the new API should also be necessary.Also expose
IInspectorPackagerConnection
as a public interface so that the callsites could integrate it. Not 100% sure howReactAndroid.api
being generated using OSS scripts, I just manually changed it.Changelog:
[GENERAL] [ADDED] - Add
sendWrappedEventToPackager
toInspectorPackagerConnection
Test Plan: