-
-
Notifications
You must be signed in to change notification settings - Fork 809
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
Usage with Expo #84
Comments
Currently the
Do you ensure the
Also, for the inject script you don't need use |
If you're using CRNA for create Expo project, we have examples. |
Thank you for the fast reply. Just updating this thread with what I did for registering the rndebugger scheme
Realizing afterwards that it was pointless, since it goes back to calling the executable with the path as argument, which I already knew wouldn't work.. postinstallWhen restarting the expo project, I get the following error:
Fixed after running I'm not using CRNA, and will try using relay instead of redux/mobx. |
It seems still try launching the browser, so the inject script has not been run? Should do |
Not sure why, is this error can't reproduce in browser debugger-ui? O_o I'll try to reproduce on my Linux machine later.
This mean the |
@jhen0409 sorry for the late reply. react-native-debugger is usable to some point, but there's a lot that could be improved (at least for my use case). Here is a video to demonstrate the console errors effect when navigating elements through the dom view: https://youtu.be/ZWX-IedeRrQ (file a bit too heavy to convert to gif and upload here, that's why I used youtube) |
It seems like the errors is from react-devtools, I can reproduce it on RN 0.44. |
@Fandekasp I know you're not using CRNA but I thought this short video might still be relevant: Create React Native App + React Native Debugger In the video the author recommends this article: React Native Debugger + Expo = AWESOME |
@jhen0409 oh yeah. |
|
@jhen0409 forgive my ignorance, but I installed RND through brew - how will updating to |
@mmahalwy you can update this dependency of react-native to the latest matched version, just run |
@jhen0409 awesome! Thanks! |
for anyone that would like a bash function to open the debugger on the port of your choosing
|
** Please ensure:
** Please provide the following information if you found some bugs or have question:
React Native version: Expo SDK 17
Platform: Android
Is real device of platform: No
Operating System: Arch Linux
I'm trying to get react-native-debugger to work with Expo and my genymotion android device, without success so far. When running the debugger, it will always listen on a random port, and I cannot figure out a way to tell expo and react-native-debugger to agree on the port.
REACT_DEBUGGER="unset ELECTRON_RUN_AS_NODE && open -g 'rndebugger://set-debugger-loc?port=19001' ||" npm start
xdg-open "rndebugger://set-debugger-loc?host=localhost&port=19001"xdg-mime query default http
without success (not sure how to assign react-native-debugger to this specific mime.The text was updated successfully, but these errors were encountered: