Open luongvo opened 1 year ago
not sure what we used in Varun but we definitely need this
yep I just found that it was alice as well.
@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 😄
@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
@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 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 😄
@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
@doannimble do you mean this tool https://pub.dev/packages/requests_inspector?
Confirmed by @doannimble here to use https://pub.dev/packages/requests_inspector for both HTTP with Dio and GraphQL with gql_link.
in case we are still discussing with tool to use, it is open for discussion, thus I updated the title
@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 💡 ) 😄
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