Skip to content
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

Bug: [reactdev tools][react native] Bridge was already shutdown. Inspection is broken #30757

Closed
resting opened this issue Dec 12, 2020 · 6 comments
Assignees
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@resting
Copy link

resting commented Dec 12, 2020

Try debugging in vanilla react native project.
Install reactdev-tools: npm i -D reactdev-tools
Start react native app in iOS or Android.
Start reactdev-tools
Enable debug mode.
Try to inspect element.
Observe that there's a warning Bridge was already shutdown.
The inspect mode doesn't connect to it.

Update:
Some how it connects, when devtools window is not in view. Then stop and start debug again.

Expected:
Inpection should connect to reactdev-tools instead of in app

reactdev-tools: 4.10.1
RN: 0.63.3
R: 16.13.1

Demo
2020-12-12_17-19-44

@garen-men
Copy link

I have the same problem. i Install reactdev-tools in the global.

@bvaughn
Copy link
Contributor

bvaughn commented Jan 13, 2021

I'm not sure what your video is showing. Are you trying to connect the React DeTools extension in Chrome to React Native?

As the webpage in your screenshot above shows, you'll need to connect to the standalone version of React Developer Tools.

I don't think you should even need to use the Debug option for this connection.

@rickhanlonii rickhanlonii transferred this issue from facebook/react Jan 18, 2021
@rickhanlonii
Copy link
Member

I believe this is an issue with React Native's integration with DevTools so I've moved this issue to the React Naive repo.

@sschottler
Copy link

I had the same issue and documented a workaround to get inspector working:

https://gist.github.com/sschottler/7771dc034d38b89d9d587dc5d358c386

@stale
Copy link

stale bot commented Jan 9, 2022

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 9, 2022
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as completed Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

5 participants