reactotron icon indicating copy to clipboard operation
reactotron copied to clipboard

React Native 0.64 - Unable to connect but storybook switcher works fine

Open akiwarheit opened this issue 3 years ago • 3 comments

I created a new project recently and am struggling to try to get tron to connect.

The storybook switcher, however works fine.

Screen Shot 2021-04-28 at 6 28 53 PM Screen Shot 2021-04-28 at 6 34 37 PM

Sample app: https://github.com/akiwarheit/scaling-disco/blob/main/src/debug/index.tsx

"reactotron-react-native": "^5.0.0"

akiwarheit avatar Apr 28 '21 06:04 akiwarheit

I have also run into the same issue. Not able to connect with any simulator or real device.

My storybook switcher works as expected + I can also see the commands come through (e.g. subscribing to a state path) via console logs: Reactotron.configure({..., onCommand: ({ type, payload }) => { console.log("I just received a ${type} command"); console.log(payload); }, })

Also, when checking the processes running on the 9090 port, everything looks to be connected as expected

image

harryrush avatar May 03 '21 05:05 harryrush

It connects fine without the switcher.

@harryrush @akiwarheit

kevindsky avatar May 12 '21 02:05 kevindsky

Same here, when switcher is on the root component, storybook works fine, but no activity anymore on reactotron

export default console.tron.storybookSwitcher(StorybookUIHMRRoot)(Root);

FR073N avatar Nov 26 '21 00:11 FR073N