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
Support for Cordova apps #21
Comments
Hey @oskarer, There is another problem, you cannot communicate with the extension from there. I tried to implement it before, but unfortunately Chrome extensions aren't ready for such communication yet. It could be done by using debugger-protocol, but it would be too hacky (we have to open chrome with a special flag and communicate with the app via a websocket port). There's a chrome.debugger API, but it's still very limited. We can only send commands to the remote app, but not to communicate directly. Still there are some opened tickets to extend it. If so happens, it would be easy to implement it, not soon though. I have a solution, but it's not trivial and would be as a separate project for a Chrome / Electron app not extension. Will try to support Cordova and React Native apps. |
Thanks for the info @zalmoxisus! Seems like it wasn't so easy I expected, closing. |
Hey @oskarer, I've implemented this in remote-redux-devtools. |
Wow, really impressive! Works really well. One question, say you're several developers working on the same network with the same or different apps.. I guess that doesn't work as of now, but it would be possible if zalmoxisus/remote-redux-devtools#2 is solved? |
Yes, there would be 2 options: to work independently or synchronously (so it would be possible to inspect some troubles together on the different machines). Another option would be for now to run it on localhost as indicated in zalmoxisus/remote-redux-devtools#1, but it is not implemented in monitor app yet (though almost done). |
I'm currently developing a Cordova app which I have to run the app in an emulator/phone all the time, due to database dependencies etc. I would then like to attach the developer tool (from chrome://inspect on my desktop) to the phone and see the Redux Devtools from there.
Obviously this doesn't work as of now since the Chrome extension injects properties to the window variable. However, wouldn't it be possible to do this manually in the Cordova app and get it to work? If so, which part of the source do I need to run?
The text was updated successfully, but these errors were encountered: