flutter_stetho
flutter_stetho copied to clipboard
Provide ability to decode serialized responses
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.
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!
I'm unfortunately very limited on time as well. No worries if you're unable to get to it.
On Thu, Jun 21, 2018, 4:39 AM Brian Egan [email protected] wrote:
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!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brianegan/flutter_stetho/issues/4#issuecomment-399073974, or mute the thread https://github.com/notifications/unsubscribe-auth/ACH0ZzNfW83AFzYAo_-TpZ7TGFr0qwgrks5t-4XsgaJpZM4Uvv3M .
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 ??