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

Can't use with chopper? #26

Closed
bhanuka96 opened this issue Dec 4, 2019 · 3 comments
Closed

Can't use with chopper? #26

bhanuka96 opened this issue Dec 4, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@bhanuka96
Copy link

I am using http inspector for Alice plugin. and http request for chopper.
Is there any way to use chopper with alice?

chopper

  @Post(path: '/check-auth')
  Future<Response> checkAuth(
      @Field('client_id') clientId,
      @Field('client_secret') clientSecret,
      @Field('username') username
      );

button press event

final response = await Provider.of<Services>(context).checkAuth('4','N',value);

 alice.onHttpResponse(response);

I got error when using like this,

Error is:can't be assigned to the parameter type

But dio and http working with alice.

@jhomlala
Copy link
Owner

Please provide full error log or minimal working example.

@jhomlala jhomlala self-assigned this Dec 21, 2019
@jhomlala jhomlala added the bug Something isn't working label Dec 21, 2019
@bhanuka96
Copy link
Author

Please provide full error log or minimal working example.

I tried to add this package. bus chopper was not supported for this. Is there any way to use with chopper?

@jhomlala
Copy link
Owner

Added support for Chopper in 0.0.21. Please update Alice version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants