Closed todorone closed 6 years ago
Any ETA on the fix?
Yep, same here. Babel 7 issue I presume.
Same problem. I've had to remove remote-redux-devtools until this bug is resolved.
@todorone is correct. Workaround is to overwrite node_modules/rn-host-detect.index.js
with https://raw.githubusercontent.com/MaxToyberman/rn-host-detect/35a45bb8424f748f16cc9da0402df144ce11385f/index.js.
It's a messy workaround but at least it's working.
I made a PR that should fix the problem above.
Temporarily you can
1) Run yarn remove remote-redux-devtools;yarn add remote-redux-devtools-sp
and
2) Change:
import devTools from 'remote-redux-devtools';
to
import devTools from 'remote-redux-devtools-sp';
@LaurieWilliamsNZ @SudoPlz Does redux state tracking works for you with above fixes? I somehow see empty redux state tab in React Native Debugger even with both either fixes... ðŸ˜
I've solved the issue by https://github.com/jhen0409/rn-host-detect/pull/5 and published the package as 1.1.4
.
@jhen0409 Great, thanks, it's working. The last issue stays is with standalone RNDebugger which doesn't work as redux inspecting tool, while chrome extension do...
@todorone I'm using remote-redux-devtools with remote-redux-devtools-sp
and it works, I can inspect my state.
Changing to another Emulator worked for me!
It doesn't work due to incorrect 'rn-host-detect' behavior. This is similar issue which also has workaround - https://github.com/infinitered/reactotron/issues/724