I just recently upgrade my app from apollo client v2 to v3 and the apollo dev tool keeps crashing by throwing
RNDebuggerWorker.js:2 Uncaught TypeError: r.queryManager.mutationStore.getStore is not a function
at te.<anonymous> (RNDebuggerWorker.js:2)
at te.s.emit (RNDebuggerWorker.js:2)
at RNDebuggerWorker.js:2
at RNDebuggerWorker.js:2

I have done some research and find out this on apollo-client-devtools github readme file
If you are running Apollo Client 2.0, the dev tools require at least [email protected] and [email protected], and you must be running at least version 2.0.5 of the dev tools themselves.
If you are running Apollo Client 3.0, you must be running at least version 2.3.3 of the dev tools.
Can we upgrade apollo-client-devtools to at least version 2.3.3 ?
I have raised a PR
https://github.com/jhen0409/react-native-debugger/pull/553
Most def need this. We just ran into the same problem.
Fixed in v0.11.6.
I know this issue has been closed, but I am still seeing this issue. Same error as OP.
I have the most recent version of RND 0.11.6. and my apollo version is using 3.3.6. Any suggestions?
@Legym
The error should be gone once u upgrade to the latest version but u will get another issue
https://github.com/jhen0409/react-native-debugger/issues/565
Using 3.0 client as well, and I get exactly nothing in the Apollo dev tools. The cache is empty, even tho I can see the Apollo cache is being leveraged for sure in my app.
Using 3.0 client as well, and I get exactly nothing in the Apollo dev tools. The cache is empty, even tho I can see the Apollo cache is being leveraged for sure in my app.
@sebastienbarre try passing connectToDevTools: true to the ApolloClient constructor.
@danieldauk thanks, that did the trick.
Most helpful comment
@sebastienbarre try passing
connectToDevTools: trueto the ApolloClient constructor.