Skip to content
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

Provide ability to decode serialized responses #4

Open
alanrussian opened this issue Jun 20, 2018 · 3 comments
Open

Provide ability to decode serialized responses #4

alanrussian opened this issue Jun 20, 2018 · 3 comments

Comments

@alanrussian
Copy link

We transport data using binary protos. Unfortunately, this means that responses look, for lack of a better term, like garbage in Stetho when using this plugin :(

Would it be possible for us to encode the responses in Dart before they get sent to the platform channel? It would probably have to be done at a higher level than HttpOverrides as we don't know the expected format in order to deseralize the data there.

@brianegan
Copy link
Owner

Good call -- looks like the original Stetho package has support for this type of transformation. Would you be willing to help by submitting a PR for this use-case? I'll try to find time, but don't have a ton of free time in the next 3-4 of weeks!

@alanrussian
Copy link
Author

alanrussian commented Jun 21, 2018 via email

@ghost
Copy link

ghost commented Aug 24, 2018

There are great tools in golang that will receive he proxies data on your laptop and pipe them into chrome debugging tools.

But I have to admit I am quite curious about the Facebook library that converts the protobuf on the mobile.
Anyone got a link ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants