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

Add Network inspector to inspects the HTTP(S) requests/responses #221

Open
luongvo opened this issue Jul 10, 2023 · 12 comments
Open

Add Network inspector to inspects the HTTP(S) requests/responses #221

luongvo opened this issue Jul 10, 2023 · 12 comments
Assignees
Milestone

Comments

@luongvo
Copy link
Member

luongvo commented Jul 10, 2023

Why

Inspired by what we did in Android Templates, having a built-in Chucker tool that helps to inspect the HTTP(S) requests/responses is really helpful & efficient for the team, PM, and testers to determine and resolve the networking issues in the app build. We have the same tool in Flutter called Alice (more powerful than Chucker Flutter), so it's time to add it to our template.

Who Benefits?

Developers, PM, testers

@luongvo luongvo added this to the 1.10.0 milestone Jul 10, 2023
@sleepylee
Copy link
Member

not sure what we used in Varun but we definitely need this

@luongvo luongvo changed the title Add Chucker Flutter to inspects the HTTP(S) requests/responses Add Alice (inpired by Chucker) to inspects the HTTP(S) requests/responses Jul 10, 2023
@sleepylee
Copy link
Member

yep I just found that it was alice as well.

@sleepylee sleepylee changed the title Add Alice (inpired by Chucker) to inspects the HTTP(S) requests/responses Add Alice (Network inspector) to inspects the HTTP(S) requests/responses Jul 10, 2023
@luongvo
Copy link
Member Author

luongvo commented Jul 10, 2023

@sleepylee yeah, to be honest, we did not have any network inspector tool in the Varun project. Maybe in your working project @doannimble. After researching, Alice has more powerful features than Chucker Flutter with higher rating, so it would be more stable 😄

@sleepylee
Copy link
Member

@doannimble
Copy link
Contributor

doannimble commented Jul 10, 2023

@luongvo We're using https://pub.dev/packages/requests_inspector in easy Hotel Flutter project. I'm not sure if Alice supports GraphQL 🤔
cc @sleepylee

@sleepylee
Copy link
Member

sleepylee commented Jul 10, 2023

@doannimble it needs to be detachable i.e on the Firebase/Testflight build without connecting to dev tool.
I think we still use dio under the hood of our graphql calls? I'm not sure but we can check it out. Remember that we don't always have graphql project, and this is supporting Dio http requests as the first case

@luongvo
Copy link
Member Author

luongvo commented Jul 10, 2023

@luongvo We're using pub.dev/packages/inspector in easy Hotel Flutter project. I'm not sure if Alice supports GraphQL 🤔 cc @sleepylee

it seems you sent a wrong tool @doannimble 😄

@doannimble
Copy link
Contributor

doannimble commented Jul 10, 2023

@luongvo @sleepylee Inspector supports both dio and graphQL. In easy Hotel Flutter project, we are using both RESTful and GraphQL.
For GraphQL calls, we use gql_link to execute the request, not dio

@luongvo
Copy link
Member Author

luongvo commented Jul 10, 2023

@doannimble do you mean this tool https://pub.dev/packages/requests_inspector?

@luongvo luongvo removed this from the 1.10.0 milestone Jul 10, 2023
@luongvo
Copy link
Member Author

luongvo commented Jul 10, 2023

Confirmed by @doannimble here to use https://pub.dev/packages/requests_inspector for both HTTP with Dio and GraphQL with gql_link.

@sleepylee sleepylee changed the title Add Alice (Network inspector) to inspects the HTTP(S) requests/responses Add Network inspector to inspects the HTTP(S) requests/responses Jul 10, 2023
@sleepylee
Copy link
Member

in case we are still discussing with tool to use, it is open for discussion, thus I updated the title

@manh-t
Copy link
Contributor

manh-t commented Jul 10, 2023

@luongvo I think we can create the voting so the members can choose the preferred tool. IMO, both request_inspector and Alice are easy to use, but I would choose Alice because it has more ratings on the Github page (more users use it so probably it's more stable 💡 ) 😄

@nmint8m nmint8m self-assigned this Jul 26, 2023
@luongvo luongvo added this to the 1.11.0 milestone Aug 1, 2023
@luongvo luongvo modified the milestones: 1.11.0, 1.12.0 Aug 22, 2023
@luongvo luongvo modified the milestones: 1.12.0, 1.13.0 Oct 31, 2023
@luongvo luongvo modified the milestones: 1.13.0, 1.14.0 Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants