react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

Debugger blocks connection to firebase

Open SirKadogan opened this issue 5 years ago • 9 comments

Everything is working fine when debugger is disconnected. When I connect the debugger, I can't reach firebase at all. It seems firebase is the only conflict there.

What could it be?

React Native Debugger app version: 0.9.8 React Native version0.58.0 Platform:Android Is real device of platform: Real Device Operating System: Windows

SirKadogan avatar May 24 '19 23:05 SirKadogan

Same issue. Any solution?

yosukapro avatar Jul 20 '19 04:07 yosukapro

It's been a while since I fixed it and I can't recall exactly what I did, but I believe I updated both react-native-debugger and React Native to the latest versions. It's all working fine for me now. I think I reinstalled the debugger from scratch as well.

Let me know if that helped you :)

SirKadogan avatar Jul 20 '19 16:07 SirKadogan

is it firebase or react-native-firebase? In my experience, it may got some timer issue on pure JS version of firebase.

jhen0409 avatar Aug 02 '19 05:08 jhen0409

I started to have the same issue a few months ago and had to switch to a different debugger. I checked recently and the connectivity issue was still there. @jhen0409 it happens with react-native-firebase.

ThomasFindlay avatar Sep 03 '19 09:09 ThomasFindlay

I am still having this issue now. It starts when I use the debugger with firebase and then I have connection issues until I restart.

dwaynelavon avatar Oct 21 '19 17:10 dwaynelavon

Stuck here too.. really need the debugger to work any updates on this guys ?

image

React Native 0.61


  "dependencies": {
        "@react-native-community/masked-view": "^0.1.5",
        "axios": "^0.19.2",
        "expo": "~36.0.0",
        "expo-file-system": "~8.0.0",
        "expo-linear-gradient": "~8.0.0",
        "firebase": "^7.8.2",
        "formik": "^1.5.8",
        "immutable": "^4.0.0-rc.12",
        "moment": "^2.24.0",
        "react": "^16.12.0",
        "react-dom": "~16.9.0",
        "react-native": "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz",
        "react-native-calendar-strip": "^1.4.1",
        "react-native-elements": "^1.2.7",
        "react-native-gesture-handler": "^1.3.0",
        "react-native-multibar": "0.0.12",
        "react-native-reanimated": "~1.4.0",
        "react-native-safe-area-context": "^0.6.0",
        "react-native-screens": "2.0.0-alpha.12",
        "react-native-segmented-control-tab": "^3.4.1",
        "react-native-svg": "9.13.3",
        "react-native-svg-charts": "^5.3.0",
        "react-native-text-ticker": "^1.0.0",
        "react-native-web": "~0.11.7",
        "react-navigation": "^4.1.1",
        "react-navigation-stack": "^2.1.1",
        "react-navigation-tabs": "^2.7.0",
        "react-redux": "^7.2.0",
        "redux": "^4.0.5",
        "redux-persist": "^5.10.0",
        "redux-persist-transform-immutable": "^5.0.0",
        "redux-thunk": "^2.3.0",
        "yup": "^0.28.1"
    },

hani-q avatar Mar 09 '20 13:03 hani-q

is it firebase or react-native-firebase? In my experience, it may got some timer issue on pure JS version of firebase.

For me its React-native, expo and Firebase JS SDK

hani-q avatar Mar 09 '20 13:03 hani-q

Issue fixed for me. I was using older release of the debugger to make it work on windows (Which is a separate issue as dark mode permits it from opening) so after figuring that out and moving to the latest version all firebase request are working for me

hani-q avatar Mar 09 '20 14:03 hani-q

Funny that I ran into the same issue more than a year later while working on another project. I didn't even remember this.

Apparently the problem was that my computer and my phone were unsynced by a few seconds.

Here's how I fixed it this time: (windows 10)

  1. Date and time settings on your computer
  2. Under 'synchronize your clock' -> Sync now.

SirKadogan avatar Jun 28 '20 15:06 SirKadogan